diff --git a/Finder.php b/Finder.php index 62c3f9e2..a3bf9a1a 100644 --- a/Finder.php +++ b/Finder.php @@ -162,8 +162,8 @@ public function date(string|array $dates): static * * 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']) *