@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | */ |
| 53 | 53 | public function getEmailConfig() |
| 54 | 54 | { |
| 55 | - if(!\Config::get('concrete.email.enabled')) { |
|
| 55 | + if (!\Config::get('concrete.email.enabled')) { |
|
| 56 | 56 | throw new Exception('Concrete5 email is disabled... you have to enable that for email to function'); |
| 57 | 57 | } |
| 58 | 58 | |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | public function getSiteUrl() |
| 107 | 107 | { |
| 108 | 108 | $app = $this->getApp(); |
| 109 | - return (string)rtrim($app->make('url/canonical'), '/'); |
|
| 109 | + return (string) rtrim($app->make('url/canonical'), '/'); |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | public function getConfigOverrides() |
| 126 | 126 | { |
| 127 | 127 | $config = \Config::get('backup_pro.overrides'); |
| 128 | - if( is_array($config) ) { |
|
| 128 | + if (is_array($config)) { |
|
| 129 | 129 | return $config; |
| 130 | 130 | } |
| 131 | 131 | |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | */ |
| 164 | 164 | private function getApp() |
| 165 | 165 | { |
| 166 | - if( is_null($this->app) ) { |
|
| 166 | + if (is_null($this->app)) { |
|
| 167 | 167 | $this->app = \Concrete\Core\Support\Facade\Application::getFacadeApplication(); |
| 168 | 168 | } |
| 169 | 169 | |