X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fdb%2FORMResult.php;h=327d20d9e43c60541928b9669f5f06f563137adc;hb=e63129e8828528ae78f1a87293fdf08229c6c2e2;hp=e4efc016a4d4c1f7a823b91df11f26a3abadbc51;hpb=9050ec22df6dd9fec3b6f7e2e02b690a1541f2f6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/db/ORMResult.php b/includes/db/ORMResult.php index e4efc016a4..327d20d9e4 100644 --- a/includes/db/ORMResult.php +++ b/includes/db/ORMResult.php @@ -36,7 +36,7 @@ class ORMResult implements ORMIterator { protected $res; /** - * @var integer + * @var int */ protected $key; @@ -62,7 +62,7 @@ class ORMResult implements ORMIterator { } /** - * @param $row + * @param bool|object $row */ protected function setCurrent( $row ) { if ( $row === false ) { @@ -73,14 +73,14 @@ class ORMResult implements ORMIterator { } /** - * @return integer + * @return int */ public function count() { return $this->res->numRows(); } /** - * @return boolean + * @return bool */ public function isEmpty() { return $this->res->numRows() === 0; @@ -94,7 +94,7 @@ class ORMResult implements ORMIterator { } /** - * @return integer + * @return int */ public function key() { return $this->key; @@ -113,7 +113,7 @@ class ORMResult implements ORMIterator { } /** - * @return boolean + * @return bool */ public function valid() { return $this->current !== false;