Skip to content

Commit

Permalink
minor #50921 [Finder] Fix phpdoc about glob syntax (VincentLanglet)
Browse files Browse the repository at this point in the history
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 #42675
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Closes #42675 cc `@nicolas`-grekas

Commits
-------

2340a75 Fix Finder phpdoc
  • Loading branch information
nicolas-grekas committed Jul 13, 2023
2 parents 67acf9e + 2340a75 commit bae6cd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Component/Finder/Finder.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ public function date($dates)
*
* You can use patterns (delimited with / sign), globs or simple strings.
*
* $finder->name('*.php')
* $finder->name('/\.php$/') // same as above
* $finder->name('/\.php$/')
* $finder->name('*.php') // same as above, without dot files
* $finder->name('test.php')
* $finder->name(['test.py', 'test.php'])
*
Expand Down

0 comments on commit bae6cd8

Please sign in to comment.