diff options
| author | Greg Roach <fisharebest@gmail.com> | 2017-07-07 19:16:45 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2017-07-09 22:45:05 +0100 |
| commit | 60bc3e3fa6818f7ba65df666d54efde701a9fe49 (patch) | |
| tree | 3fa153b76ef02adee9b6c3c6ed2e134d02611a19 /app/Statement.php | |
| parent | 04ade2e62ee0e043b2d6b2b97a8337e230c202c8 (diff) | |
| download | webtrees-60bc3e3fa6818f7ba65df666d54efde701a9fe49.tar.gz webtrees-60bc3e3fa6818f7ba65df666d54efde701a9fe49.tar.bz2 webtrees-60bc3e3fa6818f7ba65df666d54efde701a9fe49.zip | |
PHPDoc
Diffstat (limited to 'app/Statement.php')
| -rw-r--r-- | app/Statement.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/Statement.php b/app/Statement.php index c08cef83bb..df96638007 100644 --- a/app/Statement.php +++ b/app/Statement.php @@ -17,6 +17,7 @@ namespace Fisharebest\Webtrees; use PDO; use PDOStatement; +use stdClass; /** * Extend PHP's native PDOStatement class. @@ -105,7 +106,7 @@ class Statement { * * @param int $fetch_style * - * @return \stdClass|array|false + * @return stdClass|array|false */ public function fetch($fetch_style = PDO::FETCH_OBJ) { if (!$this->executed) { @@ -122,7 +123,7 @@ class Statement { * * @param int $fetch_style * - * @return \stdClass[]|string[][] + * @return stdClass[]|string[][] */ public function fetchAll($fetch_style = PDO::FETCH_OBJ) { if (!$this->executed) { @@ -142,7 +143,7 @@ class Statement { * * @param int $fetch_style * - * @return \stdClass|array|null + * @return stdClass|array|null */ public function fetchOneRow($fetch_style = PDO::FETCH_OBJ) { if (!$this->executed) { |
