From 2340a755c42fbca1b75469b983999f37055caa30 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Sun, 9 Jul 2023 15:55:15 +0200 Subject: [PATCH] Fix Finder phpdoc --- src/Symfony/Component/Finder/Finder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Finder/Finder.php b/src/Symfony/Component/Finder/Finder.php index 8cc564cd6750..0b569655cc33 100644 --- a/src/Symfony/Component/Finder/Finder.php +++ b/src/Symfony/Component/Finder/Finder.php @@ -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']) *