diff --git a/Finder.php b/Finder.php index 8cc564cd..0b569655 100644 --- a/Finder.php +++ b/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']) *