mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-27 15:48:41 +00:00
php cs fixer
This commit is contained in:
parent
c8550aa138
commit
7061b8cb4f
|
|
@ -33,7 +33,7 @@ final class NavElementMapper extends DataMapperAbstract
|
|||
* @var array<string, array<string, bool|string>>
|
||||
* @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'],
|
||||
|
|
|
|||
|
|
@ -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 = [];
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user