@@ -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 | } |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | $yield = []; |
84 | 84 | $json = $jsonTemplate; |
85 | 85 | foreach ($type->$typeMethod() as $typeClass) { |
86 | - $methodType = Types::get(constant($typeClass . '::SCALAR')); |
|
86 | + $methodType = Types::get(constant($typeClass.'::SCALAR')); |
|
87 | 87 | foreach ($methodType->generate(1) as $value) { |
88 | 88 | $key = $property->getName(); |
89 | 89 | |
@@ -96,10 +96,10 @@ discard block |
||
96 | 96 | |
97 | 97 | $yield[] = [ |
98 | 98 | $property->getName(), // Name of the property to assign data to |
99 | - $method, // Method to call verifying that data |
|
100 | - $type, // The different types of data associated with this field |
|
101 | - $json, // JSON to use during testing |
|
102 | - $value, // Value to check against |
|
99 | + $method, // Method to call verifying that data |
|
100 | + $type, // The different types of data associated with this field |
|
101 | + $json, // JSON to use during testing |
|
102 | + $value, // Value to check against |
|
103 | 103 | ]; |
104 | 104 | } |
105 | 105 | } |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | $resource = $this->hydrate( |
164 | 164 | str_replace( |
165 | 165 | $this->getNamespace(), |
166 | - $this->getNamespace() . '\\Async', |
|
166 | + $this->getNamespace().'\\Async', |
|
167 | 167 | $class |
168 | 168 | ), |
169 | 169 | $json, |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | $resource = $this->hydrate( |
184 | 184 | str_replace( |
185 | 185 | $this->getNamespace(), |
186 | - $this->getNamespace() . '\\Async', |
|
186 | + $this->getNamespace().'\\Async', |
|
187 | 187 | $class |
188 | 188 | ), |
189 | 189 | $json, |