Passed
Push — main ( 02b0a6...6388f5 )
by Tom
55s queued 13s
created
src/Attribute/Field.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@  discard block
 block discarded – undo
17 17
      */
18 18
     public function __construct(
19 19
         protected string $group = 'default',
20
-        protected string|null $strategy = null,
21
-        protected string|null $description = null,
22
-        protected string|null $type = null,
20
+        protected string | null $strategy = null,
21
+        protected string | null $description = null,
22
+        protected string | null $type = null,
23 23
         private array $excludeCriteria = [],
24 24
         private array $includeCriteria = [],
25 25
     ) {
@@ -30,17 +30,17 @@  discard block
 block discarded – undo
30 30
         return $this->group;
31 31
     }
32 32
 
33
-    public function getStrategy(): string|null
33
+    public function getStrategy(): string | null
34 34
     {
35 35
         return $this->strategy;
36 36
     }
37 37
 
38
-    public function getDescription(): string|null
38
+    public function getDescription(): string | null
39 39
     {
40 40
         return $this->description;
41 41
     }
42 42
 
43
-    public function getType(): string|null
43
+    public function getType(): string | null
44 44
     {
45 45
         return $this->type;
46 46
     }
Please login to merge, or discard this patch.
src/Resolve/FieldResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
          * For disabled hydrator cache, store only last hydrator result and reuse for consecutive calls
44 44
          * then drop the cache if it doesn't hit.
45 45
          */
46
-        if (! $this->config->getUseHydratorCache()) {
46
+        if (!$this->config->getUseHydratorCache()) {
47 47
             if (isset($this->extractValues[$splObjectHash])) {
48 48
                 return $this->extractValues[$splObjectHash][$info->fieldName] ?? null;
49 49
             }
Please login to merge, or discard this patch.