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

@ -47,7 +47,7 @@ class Initializer {
try {
$this->setupDB();
} catch(\Exception $e) {
} catch (\Exception $e) {
return WPNotice::displayError(Helpers::replaceLinkTags(
__('Unable to connect to the database (the database is unable to open a file or folder), the connection is likely not configured correctly. Please read our [link] Knowledge Base article [/link] for steps how to resolve it.', 'mailpoet'),
'//beta.docs.mailpoet.com/article/200-solving-database-connection-issues',
@ -120,7 +120,7 @@ class Initializer {
try {
$this->setupRenderer();
$this->setupWidget();
} catch(\Exception $e) {
} catch (\Exception $e) {
$this->handleFailedInitialization($e);
}
}
@ -158,7 +158,7 @@ class Initializer {
$this->setupDeactivationSurvey();
do_action('mailpoet_initialized', MAILPOET_VERSION);
} catch(\Exception $e) {
} catch (\Exception $e) {
return $this->handleFailedInitialization($e);
}
@ -168,7 +168,7 @@ class Initializer {
function maybeDbUpdate() {
try {
$current_db_version = $this->container->get(SettingsController::class)->get('db_version');
} catch(\Exception $e) {
} catch (\Exception $e) {
$current_db_version = null;
}
@ -252,7 +252,7 @@ class Initializer {
$this->setupJSONAPI();
$this->setupRouter();
$this->setupUserLocale();
} catch(\Exception $e) {
} catch (\Exception $e) {
$this->handleFailedInitialization($e);
}
}