diff options
Diffstat (limited to 'app/Elements/AbstractElement.php')
| -rw-r--r-- | app/Elements/AbstractElement.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Elements/AbstractElement.php b/app/Elements/AbstractElement.php index 9b91dcc79f..35fffd1ccc 100644 --- a/app/Elements/AbstractElement.php +++ b/app/Elements/AbstractElement.php @@ -78,7 +78,7 @@ abstract class AbstractElement implements ElementInterface * @param string $label * @param array<string>|null $subtags */ - public function __construct(string $label, array $subtags = null) + public function __construct(string $label, array|null $subtags = null) { $this->label = $label; $this->subtags = $subtags ?? static::SUBTAGS; |
