Upgrade to 4.6.0

This commit is contained in:
Bastian Allgeier
2025-01-30 12:15:44 +01:00
parent d71db84033
commit daf499e2e4
179 changed files with 1848 additions and 688 deletions

View File

@@ -26,7 +26,7 @@ return [
/**
* Sets the default text when a new page/file/user is created
*/
'default' => function (string $default = null) {
'default' => function (string|null $default = null) {
return trim($default ?? '');
},
@@ -48,28 +48,28 @@ return [
/**
* Sets the font family (sans or monospace)
*/
'font' => function (string $font = null) {
'font' => function (string|null $font = null) {
return $font === 'monospace' ? 'monospace' : 'sans-serif';
},
/**
* Maximum number of allowed characters
*/
'maxlength' => function (int $maxlength = null) {
'maxlength' => function (int|null $maxlength = null) {
return $maxlength;
},
/**
* Minimum number of required characters
*/
'minlength' => function (int $minlength = null) {
'minlength' => function (int|null $minlength = null) {
return $minlength;
},
/**
* Changes the size of the textarea. Available sizes: `small`, `medium`, `large`, `huge`
*/
'size' => function (string $size = null) {
'size' => function (string|null $size = null) {
return $size;
},
@@ -80,7 +80,7 @@ return [
return $spellcheck;
},
'value' => function (string $value = null) {
'value' => function (string|null $value = null) {
return trim($value ?? '');
}
],