Skip to content

Commit

Permalink
Initialize children property
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 1, 2024
1 parent abf0316 commit 5b43c7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class NavItem implements Stringable
protected string $identifier;

/** @var array<\Hyde\Framework\Features\Navigation\NavItem> */
protected array $children;
protected array $children = [];

/**
* Create a new navigation menu item.
Expand Down

0 comments on commit 5b43c7c

Please sign in to comment.