Completed
Push — master ( 96b2f8...da2c9c )
by Kirill
05:58
created
src/Definition/Behaviour/HasInterfaces.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      */
67 67
     public function getInterface(string $name): InterfaceDefinition
68 68
     {
69
-        if (! \in_array($name, $this->interfaces, true)) {
69
+        if (!\in_array($name, $this->interfaces, true)) {
70 70
             $error = \sprintf('%s does not contain an interface named "%s"', $this, $name);
71 71
             throw new TypeNotFoundException($error);
72 72
         }
Please login to merge, or discard this patch.
src/Definition/Behaviour/HasDeprecation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,6 +43,6 @@
 block discarded – undo
43 43
      */
44 44
     public function getDeprecationReason(): string
45 45
     {
46
-        return (string)$this->deprecation;
46
+        return (string) $this->deprecation;
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
src/Common/Renderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $name = \str_replace(['-', '_'], ' ', $name);
24 24
         $name = \ucwords($name);
25 25
 
26
-        return (string)\str_replace(' ', '', $name);
26
+        return (string) \str_replace(' ', '', $name);
27 27
     }
28 28
 
29 29
     /**
Please login to merge, or discard this patch.
src/Document.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
      */
134 134
     public function getTypeDefinition(string $name): TypeDefinition
135 135
     {
136
-        if (! \in_array($name, $this->types, true)) {
136
+        if (!\in_array($name, $this->types, true)) {
137 137
             return null;
138 138
         }
139 139
 
Please login to merge, or discard this patch.
src/AbstractTypeDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function getDescription(): string
50 50
     {
51
-        return (string)$this->description;
51
+        return (string) $this->description;
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
src/Reflection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     {
58 58
         $name = $name ?? SchemaInterface::DEFAULT_SCHEMA_NAME;
59 59
 
60
-        if (! \in_array($name, $this->schema, true)) {
60
+        if (!\in_array($name, $this->schema, true)) {
61 61
             return null;
62 62
         }
63 63
 
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     {
158 158
         $document = $type->getDocument();
159 159
 
160
-        if (! \array_key_exists($document->getName(), $this->documents)) {
160
+        if (!\array_key_exists($document->getName(), $this->documents)) {
161 161
             $this->documents[$document->getName()] = $document;
162 162
         }
163 163
     }
Please login to merge, or discard this patch.