@@ -62,8 +62,9 @@ |
||
| 62 | 62 | * {@inheritdoc} |
| 63 | 63 | */ |
| 64 | 64 | public function getTenant() { |
| 65 | - if ($this->tenant !== null) |
|
| 66 | - return $this->tenant; |
|
| 65 | + if ($this->tenant !== null) { |
|
| 66 | + return $this->tenant; |
|
| 67 | + } |
|
| 67 | 68 | |
| 68 | 69 | $currentRequest = $this->requestStack->getCurrentRequest(); |
| 69 | 70 | if (null !== $currentRequest && false !== strpos($currentRequest->getRequestUri(), '_profiler')) { |
@@ -183,7 +183,9 @@ |
||
| 183 | 183 | $lines = explode("\n", trim($output)); |
| 184 | 184 | |
| 185 | 185 | foreach ($lines as $line) { |
| 186 | - if (trim($line) === '') continue; |
|
| 186 | + if (trim($line) === '') { |
|
| 187 | + continue; |
|
| 188 | + } |
|
| 187 | 189 | |
| 188 | 190 | // Parse supervisorctl status output format: "process_name STATUS description" |
| 189 | 191 | if (preg_match('/^(\S+)\s+(\S+)\s+(.*)$/', trim($line), $matches)) { |