mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-16 14:48:11 +00:00
More PHP8.4 updates
This commit is contained in:
@@ -29,19 +29,15 @@ namespace FireflyIII\Support;
|
||||
*/
|
||||
class NullArrayObject extends \ArrayObject
|
||||
{
|
||||
/** @var null|mixed */
|
||||
public $default;
|
||||
|
||||
/**
|
||||
* NullArrayObject constructor.
|
||||
*
|
||||
* @param null $default
|
||||
*/
|
||||
/** @phpstan-ignore-next-line */
|
||||
public function __construct(array $array, $default = null)
|
||||
public function __construct(array $array, public $default = null)
|
||||
{
|
||||
parent::__construct($array);
|
||||
$this->default = $default;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user