mirror of
https://github.com/YGGverse/Yo.git
synced 2026-03-31 17:55:35 +00:00
fix data types
This commit is contained in:
parent
b7444b8f12
commit
10b08215d0
1 changed files with 7 additions and 7 deletions
|
|
@ -147,13 +147,13 @@ for ($i = 0; $i <= $total; $i++)
|
|||
$index->addDocument(
|
||||
[
|
||||
'url' => $url,
|
||||
'time' => $remote->timeUpdated,
|
||||
'code' => $remote->httpCode,
|
||||
'mime' => $remote->mime,
|
||||
'size' => $remote->size,
|
||||
'title' => $remote->title,
|
||||
'description' => $remote->description,
|
||||
'keywords' => $remote->keywords
|
||||
'time' => (int) $remote->timeUpdated,
|
||||
'code' => (int) $remote->httpCode,
|
||||
'size' => (int) $remote->size,
|
||||
'mime' => (string) $remote->mime,
|
||||
'title' => (string) $remote->title,
|
||||
'description' => (string) $remote->description,
|
||||
'keywords' => (string) $remote->keywords
|
||||
]
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue