@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace ApiClients\Tools\ResourceTestUtilities; |
5 | 5 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | } |
60 | 60 | |
61 | 61 | $varTag = $varTag[0]; |
62 | - $scalar = (string)$varTag->getType(); |
|
62 | + $scalar = (string) $varTag->getType(); |
|
63 | 63 | if ($scalar === '') { |
64 | 64 | continue; |
65 | 65 | } |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | $resource = $this->hydrate( |
90 | 90 | str_replace( |
91 | 91 | $this->getNamespace(), |
92 | - $this->getNamespace() . '\\Async', |
|
92 | + $this->getNamespace().'\\Async', |
|
93 | 93 | $class |
94 | 94 | ), |
95 | 95 | $json, |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | $resource = $this->hydrate( |
116 | 116 | str_replace( |
117 | 117 | $this->getNamespace(), |
118 | - $this->getNamespace() . '\\Async', |
|
118 | + $this->getNamespace().'\\Async', |
|
119 | 119 | $class |
120 | 120 | ), |
121 | 121 | $json, |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | $yield = []; |
156 | 156 | $json = $jsonTemplate; |
157 | 157 | foreach ($type->$typeMethod() as $typeClass) { |
158 | - $methodType = Types::get(constant($typeClass . '::SCALAR')); |
|
158 | + $methodType = Types::get(constant($typeClass.'::SCALAR')); |
|
159 | 159 | foreach ($methodType->generate(3) as $value) { |
160 | 160 | $key = $property->getName(); |
161 | 161 | |
@@ -168,10 +168,10 @@ discard block |
||
168 | 168 | |
169 | 169 | $yield[] = [ |
170 | 170 | $property->getName(), // Name of the property to assign data to |
171 | - $method, // Method to call verifying that data |
|
172 | - $type, // The different types of data associated with this field |
|
173 | - $json, // JSON to use during testing |
|
174 | - $value, // Value to check against |
|
171 | + $method, // Method to call verifying that data |
|
172 | + $type, // The different types of data associated with this field |
|
173 | + $json, // JSON to use during testing |
|
174 | + $value, // Value to check against |
|
175 | 175 | ]; |
176 | 176 | } |
177 | 177 | } |