mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-02-09 06:58:40 +00:00
Nullable+void typehint
This commit is contained in:
parent
0d0af81fef
commit
5966ec1432
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ class Promotion
|
|||
return $this->media;
|
||||
}
|
||||
|
||||
public function addMedia($media) /* : void */
|
||||
public function addMedia($media) : void
|
||||
{
|
||||
$this->media[] = $media;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user