update kirby
This commit is contained in:
parent
652262ac94
commit
9c662bcbba
165 changed files with 1757 additions and 598 deletions
|
|
@ -610,7 +610,7 @@ abstract class FieldClass
|
|||
}
|
||||
|
||||
protected function valueToJson(
|
||||
array $value = null,
|
||||
array|null $value = null,
|
||||
bool $pretty = false
|
||||
): string {
|
||||
$constants = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE;
|
||||
|
|
@ -622,7 +622,7 @@ abstract class FieldClass
|
|||
return json_encode($value, $constants);
|
||||
}
|
||||
|
||||
protected function valueToYaml(array $value = null): string
|
||||
protected function valueToYaml(array|null $value = null): string
|
||||
{
|
||||
return Data::encode($value, 'yaml');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue