[Finder] Refine phpdoc about argument for NumberComparator
This commit is contained in:
parent
5f4d8e9441
commit
9b9d33959c
@ -37,7 +37,7 @@ class NumberComparator extends Comparator
|
|||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param string $test A comparison string
|
* @param string|int $test A comparison string or an integer
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException If the test is not understood
|
* @throws \InvalidArgumentException If the test is not understood
|
||||||
*/
|
*/
|
||||||
|
@ -200,7 +200,7 @@ class Finder implements \IteratorAggregate, \Countable
|
|||||||
* $finder->depth('> 1') // the Finder will start matching at level 1.
|
* $finder->depth('> 1') // the Finder will start matching at level 1.
|
||||||
* $finder->depth('< 3') // the Finder will descend at most 3 levels of directories below the starting point.
|
* $finder->depth('< 3') // the Finder will descend at most 3 levels of directories below the starting point.
|
||||||
*
|
*
|
||||||
* @param int $level The depth level expression
|
* @param string|int $level The depth level expression
|
||||||
*
|
*
|
||||||
* @return Finder|SplFileInfo[] The current Finder instance
|
* @return Finder|SplFileInfo[] The current Finder instance
|
||||||
*
|
*
|
||||||
@ -372,7 +372,7 @@ class Finder implements \IteratorAggregate, \Countable
|
|||||||
* $finder->size('<= 1Ki');
|
* $finder->size('<= 1Ki');
|
||||||
* $finder->size(4);
|
* $finder->size(4);
|
||||||
*
|
*
|
||||||
* @param string $size A size range string
|
* @param string|int $size A size range string or an integer
|
||||||
*
|
*
|
||||||
* @return Finder|SplFileInfo[] The current Finder instance
|
* @return Finder|SplFileInfo[] The current Finder instance
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user