Add space between catch and ‘(‘

[MAILPOET-1791]
This commit is contained in:
Ján Mikláš
2019-02-13 12:57:42 +01:00
committed by M. Shull
parent a8972ca281
commit 9e9561e576
50 changed files with 115 additions and 115 deletions

View File

@@ -394,7 +394,7 @@ class Newsletters extends APIEndpoint {
Newsletter::findOne($id)->asArray()
);
}
} catch(\Exception $e) {
} catch (\Exception $e) {
return $this->errorResponse(array(
$e->getCode() => $e->getMessage()
));
@@ -464,7 +464,7 @@ class Newsletters extends APIEndpoint {
try {
$meta = $this->bulk_action->apply('\MailPoet\Models\Newsletter', $data);
return $this->successResponse(null, $meta);
} catch(\Exception $e) {
} catch (\Exception $e) {
return $this->errorResponse(array(
$e->getCode() => $e->getMessage()
));