@@ -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 | |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | $varTag = $varTag[0]; |
60 | - $scalar = (string)$varTag->getType(); |
|
60 | + $scalar = (string) $varTag->getType(); |
|
61 | 61 | if ($scalar === '') { |
62 | 62 | continue; |
63 | 63 | } |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | $yield = []; |
86 | 86 | $json = $jsonTemplate; |
87 | 87 | foreach ($type->$typeMethod() as $typeClass) { |
88 | - $methodType = Types::get(constant($typeClass . '::SCALAR')); |
|
88 | + $methodType = Types::get(constant($typeClass.'::SCALAR')); |
|
89 | 89 | foreach ($methodType->generate(3) as $value) { |
90 | 90 | $key = $property->getName(); |
91 | 91 | |
@@ -98,10 +98,10 @@ discard block |
||
98 | 98 | |
99 | 99 | $yield[] = [ |
100 | 100 | $property->getName(), // Name of the property to assign data to |
101 | - $method, // Method to call verifying that data |
|
102 | - $type, // The different types of data associated with this field |
|
103 | - $json, // JSON to use during testing |
|
104 | - $value, // Value to check against |
|
101 | + $method, // Method to call verifying that data |
|
102 | + $type, // The different types of data associated with this field |
|
103 | + $json, // JSON to use during testing |
|
104 | + $value, // Value to check against |
|
105 | 105 | ]; |
106 | 106 | } |
107 | 107 | } |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | $resource = $this->hydrate( |
168 | 168 | str_replace( |
169 | 169 | $this->getNamespace(), |
170 | - $this->getNamespace() . '\\Async', |
|
170 | + $this->getNamespace().'\\Async', |
|
171 | 171 | $class |
172 | 172 | ), |
173 | 173 | $json, |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | $resource = $this->hydrate( |
192 | 192 | str_replace( |
193 | 193 | $this->getNamespace(), |
194 | - $this->getNamespace() . '\\Async', |
|
194 | + $this->getNamespace().'\\Async', |
|
195 | 195 | $class |
196 | 196 | ), |
197 | 197 | $json, |