Passed
Pull Request — main (#133)
by Tom
12:06
created
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.
src/Metadata/Metadata.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 {
13 13
     public function __construct(
14 14
         protected AbstractContainer $container,
15
-        protected array|null $metadataConfig,
15
+        protected array | null $metadataConfig,
16 16
     ) {
17 17
     }
18 18
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
             return parent::get($id);
29 29
         }
30 30
 
31
-        if (! isset($this->metadataConfig[$id])) {
31
+        if (!isset($this->metadataConfig[$id])) {
32 32
             throw new Error(
33 33
                 'Entity ' . $id . ' is not mapped in the metadata',
34 34
             );
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         return $this->build(Entity::class, $id, $this->metadataConfig[$id]);
38 38
     }
39 39
 
40
-    public function getMetadataConfig(): array|null
40
+    public function getMetadataConfig(): array | null
41 41
     {
42 42
         return $this->metadataConfig;
43 43
     }
Please login to merge, or discard this patch.