@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | public function __toString(): string |
66 | 66 | { |
67 | 67 | try { |
68 | - $parent = (string)$this->getDefinition(); |
|
68 | + $parent = (string) $this->getDefinition(); |
|
69 | 69 | } catch (\Throwable $e) { |
70 | 70 | $parent = '?<?>'; |
71 | 71 | } |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | } |
76 | 76 | |
77 | 77 | if ($this->isList()) { |
78 | - $parent = '[' . $parent . ']'; |
|
78 | + $parent = '['.$parent.']'; |
|
79 | 79 | } |
80 | 80 | |
81 | 81 | if ($this->isListOfNonNulls()) { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | */ |
92 | 92 | public function isNonNull(): bool |
93 | 93 | { |
94 | - return (bool)($this->modifiers & ProvidesTypeIndication::IS_NOT_NULL); |
|
94 | + return (bool) ($this->modifiers & ProvidesTypeIndication::IS_NOT_NULL); |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | */ |
100 | 100 | public function isList(): bool |
101 | 101 | { |
102 | - return (bool)($this->modifiers & ProvidesTypeIndication::IS_LIST); |
|
102 | + return (bool) ($this->modifiers & ProvidesTypeIndication::IS_LIST); |
|
103 | 103 | } |
104 | 104 | |
105 | 105 | /** |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | */ |
108 | 108 | public function isListOfNonNulls(): bool |
109 | 109 | { |
110 | - return (bool)($this->modifiers & ProvidesTypeIndication::IS_LIST_OF_NOT_NULL); |
|
110 | + return (bool) ($this->modifiers & ProvidesTypeIndication::IS_LIST_OF_NOT_NULL); |
|
111 | 111 | } |
112 | 112 | |
113 | 113 | /** |