Skip to content

Commit

Permalink
test fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Apr 8, 2022
1 parent fa246a1 commit 4295161
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ protected function init(): void

// if menu not disabled ot not already assigned as existing object
if ($this->menu !== false && !is_object($this->menu)) {
/** @var Menu */
$this->menu = $this->add(Factory::factory([Menu::class, 'activate_on_click' => false], $this->menu), 'Menu');
}

Expand Down

0 comments on commit 4295161

Please sign in to comment.