mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-01-28 15:48:40 +00:00
Nullable+void typehint
This commit is contained in:
parent
e60aa0acd1
commit
fa766a120a
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user