update kirby to v5 and add refresh cache panel view button
This commit is contained in:
commit
9a86d41254
466 changed files with 19960 additions and 10497 deletions
|
|
@ -163,9 +163,11 @@ class OptionsQuery extends OptionsProvider
|
|||
}
|
||||
|
||||
if ($result instanceof Collection === false) {
|
||||
$type = is_object($result) === true ? get_class($result) : gettype($result);
|
||||
$type = is_object($result) === true ? $result::class : gettype($result);
|
||||
|
||||
throw new InvalidArgumentException('Invalid query result data: ' . $type);
|
||||
throw new InvalidArgumentException(
|
||||
message: 'Invalid query result data: ' . $type
|
||||
);
|
||||
}
|
||||
|
||||
// create options array
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue