Completed
Push — master ( 7fd45d...bcd868 )
by ignace nyamagana
05:19 queued 03:54
created
src/ResultSet.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * New instance
60 60
      *
61
-     * @param Iterator $iterator a CSV records collection iterator
62
-     * @param array    $header   the associated collection column names
61
+     * @param string[]    $header   the associated collection column names
63 62
      * @param Iterator $records
64 63
      */
65 64
     public function __construct(Iterator $records, array $header)
@@ -187,7 +186,7 @@  discard block
 block discarded – undo
187 186
      *
188 187
      * By default if no column index is provided the first column of the CSV is selected
189 188
      *
190
-     * @param string|int $index CSV column index
189
+     * @param integer $index CSV column index
191 190
      *
192 191
      * @return Generator
193 192
      */
@@ -210,7 +209,7 @@  discard block
 block discarded – undo
210 209
     /**
211 210
      * Filter a column name against the CSV header if any
212 211
      *
213
-     * @param string|int $field         the field name or the field index
212
+     * @param integer $field         the field name or the field index
214 213
      * @param string     $error_message the associated error message
215 214
      *
216 215
      * @return string|int
@@ -281,8 +280,8 @@  discard block
 block discarded – undo
281 280
      * - the first CSV column is used to provide the keys
282 281
      * - the second CSV column is used to provide the value
283 282
      *
284
-     * @param string|int $offset_index The column index to serve as offset
285
-     * @param string|int $value_index  The column index to serve as value
283
+     * @param integer $offset_index The column index to serve as offset
284
+     * @param integer $value_index  The column index to serve as value
286 285
      *
287 286
      * @return Generator
288 287
      */
Please login to merge, or discard this patch.