From 7061b8cb4fb96cd19439d35248e9d908f3f03ae8 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 28 Dec 2018 19:13:17 +0100 Subject: [PATCH] php cs fixer --- Models/NavElementMapper.php | 2 +- Models/Navigation.php | 2 +- Views/NavigationView.php | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Models/NavElementMapper.php b/Models/NavElementMapper.php index b9a848f..3dbbf7f 100644 --- a/Models/NavElementMapper.php +++ b/Models/NavElementMapper.php @@ -33,7 +33,7 @@ final class NavElementMapper extends DataMapperAbstract * @var array> * @since 1.0.0 */ - static protected $columns = [ + protected static $columns = [ 'nav_id' => ['name' => 'nav_id', 'type' => 'int', 'internal' => 'id'], 'nav_pid' => ['name' => 'nav_pid', 'type' => 'string', 'internal' => 'pid'], 'nav_name' => ['name' => 'nav_name', 'type' => 'string', 'internal' => 'name'], diff --git a/Models/Navigation.php b/Models/Navigation.php index 16c8c18..48d8b5e 100644 --- a/Models/Navigation.php +++ b/Models/Navigation.php @@ -85,7 +85,7 @@ class Navigation * * @since 1.0.0 */ - private function load(array $hashes, Account $account, int $unit, string $app) + private function load(array $hashes, Account $account, int $unit, string $app) : void { if (empty($this->nav)) { $this->nav = []; diff --git a/Views/NavigationView.php b/Views/NavigationView.php index f1dd7a9..18c78a0 100644 --- a/Views/NavigationView.php +++ b/Views/NavigationView.php @@ -75,7 +75,7 @@ class NavigationView extends View * * @since 1.0.0 */ - public function setNavId(int $navId) + public function setNavId(int $navId) : void { $this->navId = $navId; } @@ -97,7 +97,7 @@ class NavigationView extends View * * @since 1.0.0 */ - public function setNav(array $nav) + public function setNav(array $nav) : void { $this->nav = $nav; } @@ -119,7 +119,7 @@ class NavigationView extends View * * @since 1.0.0 */ - public function setParent(int $parent) + public function setParent(int $parent) : void { $this->parent = $parent; }