Skip to content

Commit bae6cd8

Browse files
minor symfony#50921 [Finder] Fix phpdoc about glob syntax (VincentLanglet)
This PR was merged into the 5.4 branch. Discussion ---------- [Finder] Fix phpdoc about glob syntax | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes ? no ? just phpdoc | New feature? | no | Deprecations? | no | Tickets | Fix symfony#42675 | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> Closes symfony#42675 cc `@nicolas`-grekas Commits ------- 2340a75 Fix Finder phpdoc
2 parents 67acf9e + 2340a75 commit bae6cd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Finder/Finder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ public function date($dates)
164164
*
165165
* You can use patterns (delimited with / sign), globs or simple strings.
166166
*
167-
* $finder->name('*.php')
168-
* $finder->name('/\.php$/') // same as above
167+
* $finder->name('/\.php$/')
168+
* $finder->name('*.php') // same as above, without dot files
169169
* $finder->name('test.php')
170170
* $finder->name(['test.py', 'test.php'])
171171
*

0 commit comments

Comments
 (0)