Test Failed
Push — master ( 97fe68...3f86cd )
by Kirill
42s
created
src/Definition/Behaviour/HasTypeIndication.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -65,14 +65,14 @@  discard block
 block discarded – undo
65 65
      */
66 66
     public function __toString(): string
67 67
     {
68
-        $parent = $this->getDictionary()->find($this->definition) ?: $this->definition . '<?>';
68
+        $parent = $this->getDictionary()->find($this->definition) ?: $this->definition.'<?>';
69 69
 
70 70
         if ($this->isNonNull()) {
71 71
             $parent .= '!';
72 72
         }
73 73
 
74 74
         if ($this->isList()) {
75
-            $parent = '[' . $parent . ']';
75
+            $parent = '['.$parent.']';
76 76
         }
77 77
 
78 78
         if ($this->isListOfNonNulls()) {
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public function isNonNull(): bool
89 89
     {
90
-        return (bool)($this->modifiers & ProvidesTypeIndication::IS_NOT_NULL);
90
+        return (bool) ($this->modifiers & ProvidesTypeIndication::IS_NOT_NULL);
91 91
     }
92 92
 
93 93
     /**
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function isList(): bool
97 97
     {
98
-        return (bool)($this->modifiers & ProvidesTypeIndication::IS_LIST);
98
+        return (bool) ($this->modifiers & ProvidesTypeIndication::IS_LIST);
99 99
     }
100 100
 
101 101
     /**
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     public function isListOfNonNulls(): bool
105 105
     {
106
-        return (bool)($this->modifiers & ProvidesTypeIndication::IS_LIST_OF_NOT_NULL);
106
+        return (bool) ($this->modifiers & ProvidesTypeIndication::IS_LIST_OF_NOT_NULL);
107 107
     }
108 108
 
109 109
     /**
Please login to merge, or discard this patch.
src/Type.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
      */
68 68
     private function bootInheritance(\SplStack $stack, array $children = []): void
69 69
     {
70
-        $push = function (string $type) use ($stack): void {
70
+        $push = function(string $type) use ($stack): void {
71 71
             self::$inheritance[$type]   = \array_values(\iterator_to_array($stack));
72 72
             self::$inheritance[$type][] = static::ROOT_TYPE;
73 73
 
Please login to merge, or discard this patch.
src/Definition/Behaviour/HasName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function getName(): string
28 28
     {
29 29
         if ($this->name === null) {
30
-            return \spl_object_hash($this) . '@anonymous';
30
+            return \spl_object_hash($this).'@anonymous';
31 31
         }
32 32
 
33 33
         return $this->name;
Please login to merge, or discard this patch.