Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/viames/pair
Browse files Browse the repository at this point in the history
  • Loading branch information
viames committed Mar 20, 2023
2 parents 47f70d5 + 95f08b2 commit c52d15c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ class Menu {

/**
* Item object list.
* @var array
*/
protected $items = array();
protected $items = [];

/**
* URL of the active menu item.
*/
protected ?string $activeItem = NULL;

/**
* Add a Title item to menu.
*
* @param string Title text.
*/
public function addTitle(string $title) {

Expand Down

0 comments on commit c52d15c

Please sign in to comment.