Skip to content

Commit c0f1057

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: Write an exception message in a one heading line [Finder] Refine phpdoc about argument for NumberComparator Fix unresolved parameters from default bundle configs in debug:config [github] Tweak PR template
2 parents 0023b02 + 0c68dd9 commit c0f1057

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Comparator/NumberComparator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
*/

Finder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public function files()
221221
* $finder->depth('> 1') // the Finder will start matching at level 1.
222222
* $finder->depth('< 3') // the Finder will descend at most 3 levels of directories below the starting point.
223223
*
224-
* @param int $level The depth level expression
224+
* @param string|int $level The depth level expression
225225
*
226226
* @return Finder|SplFileInfo[] The current Finder instance
227227
*
@@ -393,7 +393,7 @@ public function notPath($pattern)
393393
* $finder->size('<= 1Ki');
394394
* $finder->size(4);
395395
*
396-
* @param string $size A size range string
396+
* @param string|int $size A size range string or an integer
397397
*
398398
* @return Finder|SplFileInfo[] The current Finder instance
399399
*

0 commit comments

Comments
 (0)