force results to string

This commit is contained in:
ghost 2024-01-23 01:55:28 +02:00
parent ff8461835d
commit db9dc8d4ba
3 changed files with 6 additions and 0 deletions

View file

@ -365,7 +365,9 @@ foreach($index->search('')
[
'url' => $url,
'rank' => (int) mb_strlen(
(string)
urldecode(
(string)
parse_url(
$url,
PHP_URL_PATH