mirror of
https://github.com/YGGverse/Yo.git
synced 2025-02-10 13:54:31 +00:00
fix data types
This commit is contained in:
parent
b7444b8f12
commit
10b08215d0
@ -147,13 +147,13 @@ for ($i = 0; $i <= $total; $i++)
|
|||||||
$index->addDocument(
|
$index->addDocument(
|
||||||
[
|
[
|
||||||
'url' => $url,
|
'url' => $url,
|
||||||
'time' => $remote->timeUpdated,
|
'time' => (int) $remote->timeUpdated,
|
||||||
'code' => $remote->httpCode,
|
'code' => (int) $remote->httpCode,
|
||||||
'mime' => $remote->mime,
|
'size' => (int) $remote->size,
|
||||||
'size' => $remote->size,
|
'mime' => (string) $remote->mime,
|
||||||
'title' => $remote->title,
|
'title' => (string) $remote->title,
|
||||||
'description' => $remote->description,
|
'description' => (string) $remote->description,
|
||||||
'keywords' => $remote->keywords
|
'keywords' => (string) $remote->keywords
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user