@@ -124,7 +124,7 @@ |
||
| 124 | 124 | } catch (QueryException $e) { |
| 125 | 125 | } |
| 126 | 126 | if ($boardId !== null) { |
| 127 | - $resource = $resourceManager->getResourceForUser(self::RESOURCE_TYPE, (string)$boardId, null); |
|
| 127 | + $resource = $resourceManager->getResourceForUser(self::RESOURCE_TYPE, (string) $boardId, null); |
|
| 128 | 128 | $resourceManager->invalidateAccessCacheForResource($resource); |
| 129 | 129 | } else { |
| 130 | 130 | $resourceManager->invalidateAccessCacheForProvider($this); |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | protected function registerCommentsEventHandler() { |
| 150 | - $this->getContainer()->getServer()->getCommentsManager()->registerEventHandler(function () { |
|
| 150 | + $this->getContainer()->getServer()->getCommentsManager()->registerEventHandler(function() { |
|
| 151 | 151 | return $this->getContainer()->query(CommentEventHandler::class); |
| 152 | 152 | }); |
| 153 | 153 | } |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | /** @var IManager $resourceManager */ |
| 160 | 160 | $resourceManager = $this->getContainer()->query(IManager::class); |
| 161 | 161 | $resourceManager->registerResourceProvider(ResourceProvider::class); |
| 162 | - \OC::$server->getEventDispatcher()->addListener('\OCP\Collaboration\Resources::loadAdditionalScripts', function () { |
|
| 162 | + \OC::$server->getEventDispatcher()->addListener('\OCP\Collaboration\Resources::loadAdditionalScripts', function() { |
|
| 163 | 163 | \OCP\Util::addScript('deck', 'build/collections'); |
| 164 | 164 | }); |
| 165 | 165 | } |