Skip to content

Commit e78d24f

Browse files
committed
remove dots
1 parent 9914b1d commit e78d24f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Translation/Translator.php

+1-1
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)