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

@@ -10,7 +10,7 @@ return [
/**
* Columns config for `layout: table`
*/
'columns' => function (array $columns = null) {
'columns' => function (array|null $columns = null) {
return $columns ?? [];
},
/**

View File

@@ -5,7 +5,7 @@ return [
/**
* Sets the maximum number of allowed entries in the section
*/
'max' => function (int $max = null) {
'max' => function (int|null $max = null) {
return $max;
}
],

View File

@@ -5,7 +5,7 @@ return [
/**
* Sets the minimum number of required entries in the section
*/
'min' => function (int $min = null) {
'min' => function (int|null $min = null) {
return $min;
}
],

View File

@@ -12,9 +12,9 @@ return [
return $limit;
},
/**
* Sets the default page for the pagination. This will overwrite default pagination.
* Sets the default page for the pagination.
*/
'page' => function (int $page = null) {
'page' => function (int|null $page = null) {
return App::instance()->request()->get('page', $page);
},
],

View File

@@ -11,7 +11,7 @@ return [
/**
* Sets the query to a parent to find items for the list
*/
'parent' => function (string $parent = null) {
'parent' => function (string|null $parent = null) {
return $parent;
}
],

View File

@@ -17,7 +17,7 @@ return [
/**
* Overwrites manual sorting and sorts by the given field and sorting direction (i.e. `date desc`)
*/
'sortBy' => function (string $sortBy = null) {
'sortBy' => function (string|null $sortBy = null) {
return $sortBy;
},
],