X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Futils%2FBatchRowIterator.php;h=60720c87e36d7ca2ff853f3db787c1319fe55821;hp=e107fb15bac41d468689749f3a610e48eee85d26;hb=802c199d0bd80ff0f4d730c61fd58cbf08a52d8d;hpb=132c1ad73ffda918bbd1e011487765b80ddd2c9c diff --git a/includes/utils/BatchRowIterator.php b/includes/utils/BatchRowIterator.php index e107fb15ba..60720c87e3 100644 --- a/includes/utils/BatchRowIterator.php +++ b/includes/utils/BatchRowIterator.php @@ -44,7 +44,7 @@ class BatchRowIterator implements RecursiveIterator { protected $primaryKey; /** - * @var integer $batchSize The number of rows to fetch per iteration + * @var int $batchSize The number of rows to fetch per iteration */ protected $batchSize; @@ -76,7 +76,7 @@ class BatchRowIterator implements RecursiveIterator { private $current = []; /** - * @var integer key 0-indexed number of pages fetched since self::reset() + * @var int key 0-indexed number of pages fetched since self::reset() */ private $key; @@ -87,9 +87,9 @@ class BatchRowIterator implements RecursiveIterator { /** * @param IDatabase $db The database to read from - * @param string|array $table The name or names of the table to read from + * @param string|array $table The name or names of the table to read from * @param string|array $primaryKey The name or names of the primary key columns - * @param integer $batchSize The number of rows to fetch per iteration + * @param int $batchSize The number of rows to fetch per iteration * @throws InvalidArgumentException */ public function __construct( IDatabase $db, $table, $primaryKey, $batchSize ) { @@ -167,7 +167,7 @@ class BatchRowIterator implements RecursiveIterator { } /** - * @return integer 0-indexed count of the page number fetched + * @return int 0-indexed count of the page number fetched */ public function key() { return $this->key;