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

@ -30,7 +30,7 @@ class Silo
return static::$data;
}
public static function get(string|array $key = null, $default = null)
public static function get(string|array|null $key = null, $default = null)
{
if ($key === null) {
return static::$data;
@ -42,7 +42,7 @@ class Silo
/**
* Removes an item from the data array
*/
public static function remove(string $key = null): array
public static function remove(string|null $key = null): array
{
// reset the entire array
if ($key === null) {