1
0
mirror of synced 2024-11-22 03:46:02 +03:00

Strings in PHP 7.2 doesn't implement Countable anymore

This commit is contained in:
Pavel 2019-06-19 12:58:10 +03:00
parent 8d034be059
commit 75ba7f7f8f

View File

@ -69,6 +69,6 @@ class Url
}
}
return count($result) > 0 ? '?' . substr($result, 1) : '';
return strlen($result) > 0 ? '?' . substr($result, 1) : '';
}
}