Passed
Pull Request — master (#946)
by Julius
02:15
created
lib/Collaboration/Resources/ResourceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
lib/AppInfo/Application.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 	}
Please login to merge, or discard this patch.