diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 6304e24..6b64260 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/QAAnswer.php b/Models/QAAnswer.php index b92ec8c..86bea7c 100644 --- a/Models/QAAnswer.php +++ b/Models/QAAnswer.php @@ -53,7 +53,7 @@ class QAAnswer implements \JsonSerializable return $this->answer; } - public function setAnswer(string $answer) /* : void */ + public function setAnswer(string $answer) : void { $this->answer = $answer; } @@ -63,7 +63,7 @@ class QAAnswer implements \JsonSerializable return $this->question; } - public function setQuestion(int $question) /* : void */ + public function setQuestion(int $question) : void { $this->question = $question; } @@ -73,12 +73,12 @@ class QAAnswer implements \JsonSerializable return $this->status; } - public function setStatus(int $status) /* : void */ + public function setStatus(int $status) : void { $this->status = $status; } - public function setAccepted(bool $accepted) /* : void */ + public function setAccepted(bool $accepted) : void { $this->isAccepted = $accepted; } @@ -93,7 +93,7 @@ class QAAnswer implements \JsonSerializable return $this->createdBy; } - public function setCreatedBy(int $id) /* : void */ + public function setCreatedBy(int $id) : void { $this->createdBy = $id; } diff --git a/Models/QABadge.php b/Models/QABadge.php index 442af82..96d177d 100644 --- a/Models/QABadge.php +++ b/Models/QABadge.php @@ -42,7 +42,7 @@ class QABadge implements \JsonSerializable return $this->name; } - public function setName(string $name) /* : void */ + public function setName(string $name) : void { $this->name = $name; } diff --git a/Models/QACategory.php b/Models/QACategory.php index d40434a..ae226a9 100644 --- a/Models/QACategory.php +++ b/Models/QACategory.php @@ -44,17 +44,17 @@ class QACategory implements \JsonSerializable return $this->name; } - public function setName(string $name) /* : void */ + public function setName(string $name) : void { $this->name = $name; } - public function getParent() /* : ?int */ + public function getParent() : ?int { return $this->parent; } - public function setParent(int $parent) /* : void */ + public function setParent(int $parent) : void { $this->parent = $parent; } diff --git a/Models/QAQuestion.php b/Models/QAQuestion.php index ec6e2ad..631d5de 100644 --- a/Models/QAQuestion.php +++ b/Models/QAQuestion.php @@ -70,7 +70,7 @@ class QAQuestion implements \JsonSerializable return $this->language; } - public function setLanguage(string $language) /* : void */ + public function setLanguage(string $language) : void { $this->language = $language; } @@ -91,7 +91,7 @@ class QAQuestion implements \JsonSerializable return $this->name; } - public function setName(string $name) /* : void */ + public function setName(string $name) : void { $this->name = $name; } @@ -101,7 +101,7 @@ class QAQuestion implements \JsonSerializable return $this->question; } - public function setQuestion(string $question) /* : void */ + public function setQuestion(string $question) : void { $this->question = $question; } @@ -111,7 +111,7 @@ class QAQuestion implements \JsonSerializable return $this->status; } - public function setStatus(int $status) /* : void */ + public function setStatus(int $status) : void { $this->status = $status; } @@ -121,7 +121,7 @@ class QAQuestion implements \JsonSerializable return $this->category; } - public function setCategory(int $category) /* : void */ + public function setCategory(int $category) : void { $this->category = $category; } @@ -131,7 +131,7 @@ class QAQuestion implements \JsonSerializable return $this->createdBy; } - public function setCreatedBy(int $id) /* : void */ + public function setCreatedBy(int $id) : void { $this->createdBy = $id; } @@ -146,7 +146,7 @@ class QAQuestion implements \JsonSerializable return $this->badges; } - public function addBadge($badge) /* : void */ + public function addBadge($badge) : void { $this->badges[] = $badge; } @@ -156,7 +156,7 @@ class QAQuestion implements \JsonSerializable return $this->answers; } - public function addAnswer($answer) /* : void */ + public function addAnswer($answer) : void { $this->answers[] = $answer; }