From fa766a120af64527ebcf31696c31f1bf8fc66efe Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 13 Mar 2018 20:55:24 +0100 Subject: [PATCH] Nullable+void typehint --- Models/Unit.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Models/Unit.php b/Models/Unit.php index f745d79..7b3be6a 100644 --- a/Models/Unit.php +++ b/Models/Unit.php @@ -107,7 +107,7 @@ class Unit implements ArrayableInterface, \JsonSerializable * * @since 1.0.0 */ - public function setName(string $name) /* : void */ + public function setName(string $name) : void { $this->name = $name; } @@ -133,7 +133,7 @@ class Unit implements ArrayableInterface, \JsonSerializable * * @since 1.0.0 */ - public function setParent($parent) /* : void */ + public function setParent($parent) : void { $this->parent = $parent; } @@ -159,7 +159,7 @@ class Unit implements ArrayableInterface, \JsonSerializable * * @since 1.0.0 */ - public function setStatus(int $status) /* : void */ + public function setStatus(int $status) : void { $this->status = $status; } @@ -185,7 +185,7 @@ class Unit implements ArrayableInterface, \JsonSerializable * * @since 1.0.0 */ - public function setDescription(string $desc) /* : void */ + public function setDescription(string $desc) : void { $this->description = $desc; }