From 81a3feefd1e9d9d94f76cc55c789818c0a20e46e Mon Sep 17 00:00:00 2001 From: Don Gilbert Date: Mon, 30 Apr 2018 09:32:39 -0400 Subject: [PATCH] Use static:: instead of -> since the code is only called statically. --- src/Helpers/FinalInstallManager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Helpers/FinalInstallManager.php b/src/Helpers/FinalInstallManager.php index b5e5b9d..b675e3e 100644 --- a/src/Helpers/FinalInstallManager.php +++ b/src/Helpers/FinalInstallManager.php @@ -37,7 +37,7 @@ private static function generateKey($outputLog) } } catch(Exception $e){ - return $this->response($e->getMessage()); + return static::response($e->getMessage(), $outputLog); } return $outputLog; @@ -57,7 +57,7 @@ private static function publishVendorAssets($outputLog) } } catch(Exception $e){ - return $this->response($e->getMessage()); + return static::response($e->getMessage(), $outputLog); } return $outputLog; @@ -70,7 +70,7 @@ private static function publishVendorAssets($outputLog) * @param collection $outputLog * @return array */ - private function response($message, $outputLog) + private static function response($message, $outputLog) { return [ 'status' => 'error',