Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #153 from dongilbert/master
Browse files Browse the repository at this point in the history
Use static:: instead of -> since the code is only called statically.
  • Loading branch information
rashidlaasri committed Apr 30, 2018
2 parents 9785761 + 81a3fee commit 8063eda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Helpers/FinalInstallManager.php
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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',
Expand Down

0 comments on commit 8063eda

Please sign in to comment.