Completed
Pull Request — master (#1128)
by René
04:25
created
lib/Model/Acl.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
 	 */
239 239
 	public function getGroupShare(): bool {
240 240
 		return count(
241
-			array_filter($this->shareMapper->findByPoll($this->getPollId()), function ($item) {
241
+			array_filter($this->shareMapper->findByPoll($this->getPollId()), function($item) {
242 242
 				if ($item->getType() === Share::TYPE_GROUP && $this->groupManager->isInGroup($this->getUserId(), $item->getUserId())) {
243 243
 					return true;
244 244
 				}
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 	 */
263 263
 	public function getPersonalShare(): bool {
264 264
 		return count(
265
-			array_filter($this->shareMapper->findByPoll($this->getPollId()), function ($item) {
265
+			array_filter($this->shareMapper->findByPoll($this->getPollId()), function($item) {
266 266
 				if (
267 267
 					($item->getType() === Share::TYPE_USER
268 268
 						|| $item->getType() === Share::TYPE_EXTERNAL
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
 	 */
284 284
 	public function getPublicShare(): bool {
285 285
 		return count(
286
-			array_filter($this->shareMapper->findByPoll($this->getPollId()), function ($item) {
286
+			array_filter($this->shareMapper->findByPoll($this->getPollId()), function($item) {
287 287
 				if ($item->getType() === Share::TYPE_PUBLIC && $item->getToken() === $this->getToken()) {
288 288
 					return true;
289 289
 				}
Please login to merge, or discard this patch.
lib/Model/Contact.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	public const ICON = 'icon-mail';
32 32
 
33 33
 	/** @var Array */
34
-	private $contact =[];
34
+	private $contact = [];
35 35
 
36 36
 	/**
37 37
 	 * Contact constructor.
Please login to merge, or discard this patch.
lib/Model/UserGroupClass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@
 block discarded – undo
276 276
 				return new Email($id);
277 277
 				break;
278 278
 			case self::TYPE_PUBLIC:
279
-				return new GenericUser($id,self::TYPE_PUBLIC);
279
+				return new GenericUser($id, self::TYPE_PUBLIC);
280 280
 				break;
281 281
 			case self::TYPE_EXTERNAL:
282 282
 				return new GenericUser($id, self::TYPE_EXTERNAL, $displayName, $emailAddress);
Please login to merge, or discard this patch.