summaryrefslogtreecommitdiff
path: root/includes/db/ORMResult.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2014-12-27 15:41:37 +0100
committerPierre Schmitz <pierre@archlinux.de>2014-12-31 11:43:28 +0100
commitc1f9b1f7b1b77776192048005dcc66dcf3df2bfb (patch)
tree2b38796e738dd74cb42ecd9bfd151803108386bc /includes/db/ORMResult.php
parentb88ab0086858470dd1f644e64cb4e4f62bb2be9b (diff)
Update to MediaWiki 1.24.1
Diffstat (limited to 'includes/db/ORMResult.php')
-rw-r--r--includes/db/ORMResult.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/includes/db/ORMResult.php b/includes/db/ORMResult.php
index 160033c4..327d20d9 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;
}
-
}