Add space between catch and ‘(‘
[MAILPOET-1791]
This commit is contained in:
@@ -37,7 +37,7 @@ class Services extends APIEndpoint {
|
||||
try {
|
||||
$result = $this->bridge->checkMSSKey($key);
|
||||
$this->bridge->storeMSSKeyAndState($key, $result);
|
||||
} catch(\Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
return $this->errorResponse(array(
|
||||
$e->getCode() => $e->getMessage()
|
||||
));
|
||||
@@ -99,7 +99,7 @@ class Services extends APIEndpoint {
|
||||
try {
|
||||
$result = $this->bridge->checkPremiumKey($key);
|
||||
$this->bridge->storePremiumKeyAndState($key, $result);
|
||||
} catch(\Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
return $this->errorResponse(array(
|
||||
$e->getCode() => $e->getMessage()
|
||||
));
|
||||
|
Reference in New Issue
Block a user