From 050d9c4888475d055308c7d77dc176ee542c23f2 Mon Sep 17 00:00:00 2001 From: Thomas Breuss Date: Fri, 25 Mar 2016 13:19:31 +0100 Subject: [PATCH] Change wrong type hint --- plugins/shortcode/shortcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/shortcode/shortcode.php b/plugins/shortcode/shortcode.php index 94389c57..866fbb7b 100644 --- a/plugins/shortcode/shortcode.php +++ b/plugins/shortcode/shortcode.php @@ -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); });