Skip to content

Commit a69cb5d

Browse files
committed
Merge branch '3.1' into 3.2
* 3.1: Write an exception message in a one heading line [Finder] Refine phpdoc about argument for NumberComparator Fixed max width from ajax request url element (td) Fix unresolved parameters from default bundle configs in debug:config [github] Tweak PR template [Serializer] Optimize max depth checking
2 parents 4263e35 + 74dcd37 commit a69cb5d

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
@@ -111,7 +111,7 @@ public function files()
111111
* $finder->depth('> 1') // the Finder will start matching at level 1.
112112
* $finder->depth('< 3') // the Finder will descend at most 3 levels of directories below the starting point.
113113
*
114-
* @param int $level The depth level expression
114+
* @param string|int $level The depth level expression
115115
*
116116
* @return Finder|SplFileInfo[] The current Finder instance
117117
*
@@ -283,7 +283,7 @@ public function notPath($pattern)
283283
* $finder->size('<= 1Ki');
284284
* $finder->size(4);
285285
*
286-
* @param string $size A size range string
286+
* @param string|int $size A size range string or an integer
287287
*
288288
* @return Finder|SplFileInfo[] The current Finder instance
289289
*

0 commit comments

Comments
 (0)