Skip to content

Commit

Permalink
Fixed return type
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Jul 10, 2020
1 parent d023ee3 commit e46b79a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core-bundle/src/Routing/CandidatePagesTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
namespace Contao\CoreBundle\Routing;

use Contao\CoreBundle\Framework\ContaoFramework;
use Contao\Model;
use Contao\Model\Collection;
use Contao\PageModel;
use Doctrine\DBAL\Connection;
Expand All @@ -37,7 +38,7 @@ trait CandidatePagesTrait
private $candidates;

/**
* @return array<string>
* @return array<Model>
*/
private function findCandidatePages(Request $request): array
{
Expand Down

0 comments on commit e46b79a

Please sign in to comment.