File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class NumberComparator extends Comparator
37
37
/**
38
38
* Constructor.
39
39
*
40
- * @param string $test A comparison string
40
+ * @param string|int $test A comparison string or an integer
41
41
*
42
42
* @throws \InvalidArgumentException If the test is not understood
43
43
*/
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ public function files()
200
200
* $finder->depth('> 1') // the Finder will start matching at level 1.
201
201
* $finder->depth('< 3') // the Finder will descend at most 3 levels of directories below the starting point.
202
202
*
203
- * @param int $level The depth level expression
203
+ * @param string| int $level The depth level expression
204
204
*
205
205
* @return Finder|SplFileInfo[] The current Finder instance
206
206
*
@@ -372,7 +372,7 @@ public function notPath($pattern)
372
372
* $finder->size('<= 1Ki');
373
373
* $finder->size(4);
374
374
*
375
- * @param string $size A size range string
375
+ * @param string|int $size A size range string or an integer
376
376
*
377
377
* @return Finder|SplFileInfo[] The current Finder instance
378
378
*
You can’t perform that action at this time.
0 commit comments