update kirby

This commit is contained in:
isUnknown 2025-02-07 17:11:37 +01:00
parent 652262ac94
commit 9c662bcbba
165 changed files with 1757 additions and 598 deletions

View file

@ -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');
}