Passed
Push — master ( e5e2c7...04c6d9 )
by Adrien
29:04 queued 25:32
created
tests/Blog/Model/User.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     private Collection $posts;
30 30
 
31 31
     public function __construct(
32
-        private MultipleRoles|string $role = 'member',
32
+        private MultipleRoles | string $role = 'member',
33 33
     ) {}
34 34
 
35 35
     public function getName(): string
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         $this->name = $name;
43 43
     }
44 44
 
45
-    public function getRole(): string|MultipleRoles
45
+    public function getRole(): string | MultipleRoles
46 46
     {
47 47
         return $this->role;
48 48
     }
Please login to merge, or discard this patch.
src/Acl/DebugAcl.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         return parent::deny($roles, $resources, $privileges, $assert);
79 79
     }
80 80
 
81
-    private function storePrivileges(null|string|array|ResourceInterface $resource, null|string|array $privileges): void
81
+    private function storePrivileges(null | string | array | ResourceInterface $resource, null | string | array $privileges): void
82 82
     {
83 83
         if (!is_array($resource)) {
84 84
             $resource = [$resource];
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
      *
188 188
      * @return array{privilege: null|string, allowed: bool, allowIf: string[], denyIf: string[]}
189 189
      */
190
-    public function show(null|RoleInterface|string $role, null|ResourceInterface|string $resource, ?string $privilege): array
190
+    public function show(null | RoleInterface | string $role, null | ResourceInterface | string $resource, ?string $privilege): array
191 191
     {
192 192
         $allowed = $this->isAllowed($role, $resource, $privilege);
193 193
         sort($this->usedAllowAssertions);
Please login to merge, or discard this patch.
src/DBAL/EventListener/HideMigrationStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         private readonly ?string $configurationTableName,
23 23
     ) {}
24 24
 
25
-    public function __invoke(AbstractAsset|string $asset): bool
25
+    public function __invoke(AbstractAsset | string $asset): bool
26 26
     {
27 27
         if (!$this->enabled) {
28 28
             return true;
Please login to merge, or discard this patch.