Skip to content

Commit ee1e394

Browse files
committed
Remove duplicate Collection::make()
1 parent f880f25 commit ee1e394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Macros/IsLocalizedMacro.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static function register()
2525
$names = Collection::make();
2626

2727
Collection::make($patterns)->each(function ($name) use ($locales, $names) {
28-
Collection::make($locales)->each(function ($locale) use ($name, $names) {
28+
$locales->each(function ($locale) use ($name, $names) {
2929
$names->push($locale . '.' . $name);
3030
});
3131
});

0 commit comments

Comments
 (0)