Fix tests/coverage

This commit is contained in:
Dennis Eichhorn 2018-12-20 23:23:14 +01:00
parent 168974f2a1
commit d406d9f6b6
2 changed files with 1 additions and 3 deletions

View File

@ -98,8 +98,6 @@ class Navigation
->orderBy('nav.nav_order', 'ASC') ->orderBy('nav.nav_order', 'ASC')
->execute(); ->execute();
$qry = $query->toSql();
$tempNav = $sth->fetchAll(\PDO::FETCH_GROUP); $tempNav = $sth->fetchAll(\PDO::FETCH_GROUP);
foreach ($tempNav as $id => $link) { foreach ($tempNav as $id => $link) {

View File

@ -36,7 +36,7 @@ class NavigationView extends View
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
protected $navId = null; protected $navId = 0;
/** /**
* Navigation. * Navigation.