Skip to content

Commit

Permalink
fix: Change function
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoya-de committed Nov 5, 2024
1 parent 5d28477 commit 3307126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function verify()
$lowered = strtolower($trimmed);
$replaced = preg_replace('/\W/', '-', $lowered);

switch (strtolower($replaced)) {
switch (strlen($replaced)) {
case 2:
$language = $replaced;
break;
Expand Down

0 comments on commit 3307126

Please sign in to comment.