@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | { |
| 33 | 33 | $statisticsStorage = $this->makeStatisticsStorage(); |
| 34 | 34 | |
| 35 | - if (!is_null($statisticsStorage)) { |
|
| 35 | + if ( ! is_null($statisticsStorage)) { |
|
| 36 | 36 | static::$events->useListenerProvider($statisticsStorage); |
| 37 | 37 | } |
| 38 | 38 | } |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | */ |
| 77 | 77 | protected function makeStatisticsStorage() |
| 78 | 78 | { |
| 79 | - if (!empty($this->project->config['statistics']['storage']) |
|
| 79 | + if ( ! empty($this->project->config['statistics']['storage']) |
|
| 80 | 80 | || class_exists($this->project->config['statistics']['storage'])) { |
| 81 | 81 | $storage = $this->project->config['statistics']['storage']; |
| 82 | 82 | |