Skip to content

Commit 7550e23

Browse files
authored
[Fix] Typed property LayoutItem::$items must not be accessed before initialization (#47)
1 parent 81203bb commit 7550e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EditableDialogBox/LayoutItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
abstract class LayoutItem extends DialogBoxItem
1010
{
1111
/** @var array<int, TItem> */
12-
private array $items;
12+
private array $items = [];
1313

1414
/**
1515
* @param list<TItem> $items

0 commit comments

Comments
 (0)