Skip to content

Commit

Permalink
Change wrong type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
tbreuss committed Mar 25, 2016
1 parent f292c3a commit 050d9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/shortcode/shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ protected function addListingTag()
}

// filter pages with empty title
$collection = $collection->filter(function (\Herbie\Page $page) {
$collection = $collection->filter(function (\Herbie\Menu\Page\Item $page) {
return !empty($page->title);
});

Expand Down

0 comments on commit 050d9c4

Please sign in to comment.