X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fdb%2FORMResult.php;h=327d20d9e43c60541928b9669f5f06f563137adc;hb=52355f5752df000f80ccc0a280e70597350780fd;hp=160033c4cf23ae3d3b08625969466e1aeb40a75c;hpb=629df62ac2f8cc8639d9a470e2e6495b1aaf8f1b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/db/ORMResult.php b/includes/db/ORMResult.php index 160033c4cf..327d20d9e4 100644 --- a/includes/db/ORMResult.php +++ b/includes/db/ORMResult.php @@ -30,14 +30,13 @@ */ class ORMResult implements ORMIterator { - /** * @var ResultWrapper */ protected $res; /** - * @var integer + * @var int */ protected $key; @@ -63,7 +62,7 @@ class ORMResult implements ORMIterator { } /** - * @param $row + * @param bool|object $row */ protected function setCurrent( $row ) { if ( $row === false ) { @@ -74,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; @@ -95,7 +94,7 @@ class ORMResult implements ORMIterator { } /** - * @return integer + * @return int */ public function key() { return $this->key; @@ -114,10 +113,9 @@ class ORMResult implements ORMIterator { } /** - * @return boolean + * @return bool */ public function valid() { return $this->current !== false; } - }