Skip to content

Commit 3999902

Browse files
authored
Merge pull request #337 from mixsuite/master
Replace str_contains helpers
2 parents 9e81c4d + 0d2b962 commit 3999902

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Manager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ public function findTranslations($path = null)
211211
//TODO: This can probably be done in the regex, but I couldn't do it.
212212
//skip keys which contain namespacing characters, unless they also contain a
213213
//space, which makes it JSON.
214-
if (! (str_contains($key, '::') && str_contains($key, '.'))
215-
|| str_contains($key, ' ')) {
214+
if (! (Str::contains($key, '::') && Str::contains($key, '.'))
215+
|| Str::contains($key, ' ')) {
216216
$stringKeys[] = $key;
217217
}
218218
}

0 commit comments

Comments
 (0)