Strings in PHP 7.2 doesn't implement Countable anymore
This commit is contained in:
parent
8d034be059
commit
75ba7f7f8f
@ -69,6 +69,6 @@ class Url
|
||||
}
|
||||
}
|
||||
|
||||
return count($result) > 0 ? '?' . substr($result, 1) : '';
|
||||
return strlen($result) > 0 ? '?' . substr($result, 1) : '';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user