Passed
Branch dev-1.5 (c72e91)
by René
04:28
created
lib/Model/Acl.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
 	 */
241 241
 	public function getGroupShare(): bool {
242 242
 		return count(
243
-			array_filter($this->shareMapper->findByPoll($this->getPollId()), function ($item) {
243
+			array_filter($this->shareMapper->findByPoll($this->getPollId()), function($item) {
244 244
 				if ($item->getType() === 'group' && $this->groupManager->isInGroup($this->getUserId(), $item->getUserId())) {
245 245
 					return true;
246 246
 				}
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
 	 */
265 265
 	public function getPersonalShare(): bool {
266 266
 		return count(
267
-			array_filter($this->shareMapper->findByPoll($this->getPollId()), function ($item) {
267
+			array_filter($this->shareMapper->findByPoll($this->getPollId()), function($item) {
268 268
 				if (($item->getType() === 'user' || $item->getType() === 'external' || $item->getType() === 'email' || $item->getType() === 'contact') && $item->getUserId() === $this->getUserId()) {
269 269
 					return true;
270 270
 				}
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
 	 */
279 279
 	public function getPublicShare(): bool {
280 280
 		return count(
281
-			array_filter($this->shareMapper->findByPoll($this->getPollId()), function ($item) {
281
+			array_filter($this->shareMapper->findByPoll($this->getPollId()), function($item) {
282 282
 				if ($item->getType() === 'public' && $item->getToken() === $this->getToken()) {
283 283
 					return true;
284 284
 				}
Please login to merge, or discard this patch.
lib/AppInfo/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 	 */
41 41
 	public function registerNavigationEntry() {
42 42
 		$container = $this->getContainer();
43
-		$container->query('OCP\INavigationManager')->add(function () use ($container) {
43
+		$container->query('OCP\INavigationManager')->add(function() use ($container) {
44 44
 			$urlGenerator = $container->query('OCP\IURLGenerator');
45 45
 			$l10n = $container->query('OCP\IL10N');
46 46
 			return [
Please login to merge, or discard this patch.