@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | */ |
| 55 | 55 | public function getVersion() |
| 56 | 56 | { |
| 57 | - $info = json_decode(file_get_contents(__DIR__ . DIRECTORY_SEPARATOR .'plugin.json'), true); |
|
| 57 | + $info = json_decode(file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'plugin.json'), true); |
|
| 58 | 58 | |
| 59 | 59 | if ($info) { |
| 60 | 60 | return $info['currentVersion']; |
@@ -324,7 +324,7 @@ discard block |
||
| 324 | 324 | return false; |
| 325 | 325 | } |
| 326 | 326 | |
| 327 | - return (bool) $plugin->getInstalled(); |
|
| 327 | + return (bool)$plugin->getInstalled(); |
|
| 328 | 328 | } |
| 329 | 329 | |
| 330 | 330 | private function registerSubscribers() |