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
3737 /**
3838 * Constructor.
3939 *
40- * @param string $test A comparison string
40+ * @param string|int $test A comparison string or an integer
4141 *
4242 * @throws \InvalidArgumentException If the test is not understood
4343 */
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ public function files()
200200 * $finder->depth('> 1') // the Finder will start matching at level 1.
201201 * $finder->depth('< 3') // the Finder will descend at most 3 levels of directories below the starting point.
202202 *
203- * @param int $level The depth level expression
203+ * @param string| int $level The depth level expression
204204 *
205205 * @return Finder|SplFileInfo[] The current Finder instance
206206 *
@@ -372,7 +372,7 @@ public function notPath($pattern)
372372 * $finder->size('<= 1Ki');
373373 * $finder->size(4);
374374 *
375- * @param string $size A size range string
375+ * @param string|int $size A size range string or an integer
376376 *
377377 * @return Finder|SplFileInfo[] The current Finder instance
378378 *
You can’t perform that action at this time.
0 commit comments