Completed
Push — master ( e9d211...82b216 )
by Craig
05:41
created
src/system/PermissionsModule/Tests/Api/PermissionApiTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
         $this->currentUserApi
68 68
             ->method('get')
69 69
             ->with($this->equalTo('uid'))
70
-            ->willReturnCallback(static function () use ($userId) {
70
+            ->willReturnCallback(static function() use ($userId) {
71 71
                 return $userId ?? Constant::USER_ID_ANONYMOUS;
72 72
             });
73 73
         $api = new PermissionApi($this->permRepo, $this->userRepo, $this->currentUserApi, $this->translator);
Please login to merge, or discard this patch.
src/system/PermissionsModule/Tests/Api/AbstractPermissionTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
         $this->userRepo
75 75
             ->method('findByUids')
76 76
             ->with($this->anything())
77
-            ->willReturnCallback(function (array $uids) {
77
+            ->willReturnCallback(function(array $uids) {
78 78
                 $groups = new ArrayCollection();
79 79
                 // getGroups returns [gid => $group, gid => $group, ...]
80 80
                 if (in_array(self::RANDOM_USER_ID, $uids, true)) {
Please login to merge, or discard this patch.