@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | /** |
| 174 | 174 | */ |
| 175 | 175 | protected function registerCommentsEventHandler(): void { |
| 176 | - $this->server->getCommentsManager()->registerEventHandler(function () { |
|
| 176 | + $this->server->getCommentsManager()->registerEventHandler(function() { |
|
| 177 | 177 | return $this->getContainer()->query(CommentEventHandler::class); |
| 178 | 178 | }); |
| 179 | 179 | } |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | $resourceManager->registerResourceProvider(ResourceProvider::class); |
| 200 | 200 | $resourceManager->registerResourceProvider(ResourceProviderCard::class); |
| 201 | 201 | |
| 202 | - $this->server->getEventDispatcher()->addListener('\OCP\Collaboration\Resources::loadAdditionalScripts', static function () { |
|
| 202 | + $this->server->getEventDispatcher()->addListener('\OCP\Collaboration\Resources::loadAdditionalScripts', static function() { |
|
| 203 | 203 | Util::addScript('deck', 'collections'); |
| 204 | 204 | }); |
| 205 | 205 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | use OCA\Deck\AppInfo\Application; |
| 25 | 25 | use OCP\AppFramework\QueryException; |
| 26 | 26 | |
| 27 | -if ((@include_once __DIR__ . '/../vendor/autoload.php')=== false) { |
|
| 27 | +if ((@include_once __DIR__ . '/../vendor/autoload.php') === false) { |
|
| 28 | 28 | throw new Exception('Cannot include autoload. Did you run install dependencies using composer?'); |
| 29 | 29 | } |
| 30 | 30 | |