php cs fixer

This commit is contained in:
Dennis Eichhorn 2018-12-28 19:13:17 +01:00
parent c8550aa138
commit 7061b8cb4f
3 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@ final class NavElementMapper extends DataMapperAbstract
* @var array<string, array<string, bool|string>> * @var array<string, array<string, bool|string>>
* @since 1.0.0 * @since 1.0.0
*/ */
static protected $columns = [ protected static $columns = [
'nav_id' => ['name' => 'nav_id', 'type' => 'int', 'internal' => 'id'], 'nav_id' => ['name' => 'nav_id', 'type' => 'int', 'internal' => 'id'],
'nav_pid' => ['name' => 'nav_pid', 'type' => 'string', 'internal' => 'pid'], 'nav_pid' => ['name' => 'nav_pid', 'type' => 'string', 'internal' => 'pid'],
'nav_name' => ['name' => 'nav_name', 'type' => 'string', 'internal' => 'name'], 'nav_name' => ['name' => 'nav_name', 'type' => 'string', 'internal' => 'name'],

View File

@ -85,7 +85,7 @@ class Navigation
* *
* @since 1.0.0 * @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)) { if (empty($this->nav)) {
$this->nav = []; $this->nav = [];

View File

@ -75,7 +75,7 @@ class NavigationView extends View
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setNavId(int $navId) public function setNavId(int $navId) : void
{ {
$this->navId = $navId; $this->navId = $navId;
} }
@ -97,7 +97,7 @@ class NavigationView extends View
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setNav(array $nav) public function setNav(array $nav) : void
{ {
$this->nav = $nav; $this->nav = $nav;
} }
@ -119,7 +119,7 @@ class NavigationView extends View
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function setParent(int $parent) public function setParent(int $parent) : void
{ {
$this->parent = $parent; $this->parent = $parent;
} }