From 38362d921b462c41ff07784d4f558a354cd46d4f Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 13 Mar 2018 20:55:24 +0100 Subject: [PATCH] Nullable+void typehint --- Admin/Install/Navigation.php | 2 +- Models/Ticket.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 0f8e75a..c5fcb45 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/Ticket.php b/Models/Ticket.php index 1d6107b..82ab321 100644 --- a/Models/Ticket.php +++ b/Models/Ticket.php @@ -48,7 +48,7 @@ class Ticket return $this->task; } - public function setTask(Task $task) /* : void */ + public function setTask(Task $task) : void { $this->task = $task; }