diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 17cfc47..0be6743 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -36,7 +36,7 @@ class Navigation * * @since 1.0.0 */ - public static function install(string $path = null, DatabasePool $dbPool = null) /* : void */ + public static function install(string $path = null, DatabasePool $dbPool = null) : void { $navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true); diff --git a/Models/ContactElement.php b/Models/ContactElement.php index e1e5ea6..31833bc 100644 --- a/Models/ContactElement.php +++ b/Models/ContactElement.php @@ -43,7 +43,7 @@ class ContactElement return $this->id; } - public function setType(int $type) /* : void */ + public function setType(int $type) : void { $this->type = $type; } @@ -53,7 +53,7 @@ class ContactElement return $this->type; } - public function setSubtype(int $type) /* : void */ + public function setSubtype(int $type) : void { $this->subtype = $type; } @@ -68,7 +68,7 @@ class ContactElement return $this->value; } - public function setValue(string $value) /* : void */ + public function setValue(string $value) : void { $this->value = $value; } @@ -78,7 +78,7 @@ class ContactElement return $this->description; } - public function setDescription(string $description) /* : void */ + public function setDescription(string $description) : void { $this->description = $description; } diff --git a/Models/Profile.php b/Models/Profile.php index 354a2e0..67373fb 100644 --- a/Models/Profile.php +++ b/Models/Profile.php @@ -75,12 +75,12 @@ class Profile return $this->image; } - public function setImage(Media $image) /* : void */ + public function setImage(Media $image) : void { $this->image = $image; } - public function setAccount(Account $account) /* : void */ + public function setAccount(Account $account) : void { $this->account = $account; } @@ -90,7 +90,7 @@ class Profile return $this->account ?? new NullAccount(); } - public function setBirthday(\DateTime $birthday) /* : void */ + public function setBirthday(\DateTime $birthday) : void { $this->birthday = $birthday; }