mirror of
https://github.com/Karaka-Management/oms-EventManagement.git
synced 2026-01-25 23:38:41 +00:00
Nullable+void typehint
This commit is contained in:
parent
8c9f26ff26
commit
76ee459089
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ class Event
|
|||
return $this->media;
|
||||
}
|
||||
|
||||
public function addMedia($media) /* : void */
|
||||
public function addMedia($media) : void
|
||||
{
|
||||
$this->media[] = $media;
|
||||
}
|
||||
|
|
@ -128,7 +128,7 @@ class Event
|
|||
return $this->progress;
|
||||
}
|
||||
|
||||
public function setProgress(int $progress) /* : void */
|
||||
public function setProgress(int $progress) : void
|
||||
{
|
||||
$this->progress = $progress;
|
||||
}
|
||||
|
|
@ -138,7 +138,7 @@ class Event
|
|||
return $this->progressType;
|
||||
}
|
||||
|
||||
public function setProgressType(int $type) /* : void */
|
||||
public function setProgressType(int $type) : void
|
||||
{
|
||||
$this->progressType = $type;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user