Skip to content

Commit a0094a5

Browse files
committed
remove dots
1 parent cac4a74 commit a0094a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Illuminate/Translation/Translator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ public function getLocale()
408408
*/
409409
public function setLocale($locale)
410410
{
411-
if (Str::contains($locale, ['.', '/', '\\'])) {
411+
if (Str::contains($locale, ['/', '\\'])) {
412412
throw new InvalidArgumentException('Invalid characters present in locale.');
413413
}
414414

0 commit comments

Comments
 (0)