update kirby
This commit is contained in:
parent
652262ac94
commit
9c662bcbba
165 changed files with 1757 additions and 598 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue