@@ -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 | |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | } |
47 | 47 | |
48 | 48 | $varTag = $varTag[0]; |
49 | - $scalar = (string)$varTag->getType(); |
|
49 | + $scalar = (string) $varTag->getType(); |
|
50 | 50 | if ($scalar === '') { |
51 | 51 | continue; |
52 | 52 | } |
@@ -69,15 +69,15 @@ discard block |
||
69 | 69 | ): Generator { |
70 | 70 | $json = $jsonTemplate; |
71 | 71 | foreach ($type->$typeMethod() as $typeClass) { |
72 | - $methodType = Types::get(constant($typeClass . '::SCALAR')); |
|
72 | + $methodType = Types::get(constant($typeClass.'::SCALAR')); |
|
73 | 73 | foreach ($methodType->generate(250) as $value) { |
74 | 74 | $json[$property->getName()] = $value; |
75 | 75 | yield [ |
76 | 76 | $property->getName(), // Name of the property to assign data to |
77 | - $method, // Method to call verifying that data |
|
78 | - $type, // The different types of data assiciated with this field |
|
79 | - $json, // JSON to use during testing |
|
80 | - $value, // Value to check against |
|
77 | + $method, // Method to call verifying that data |
|
78 | + $type, // The different types of data assiciated with this field |
|
79 | + $json, // JSON to use during testing |
|
80 | + $value, // Value to check against |
|
81 | 81 | ]; |
82 | 82 | } |
83 | 83 | } |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | $resource = $this->hydrate( |
106 | 106 | str_replace( |
107 | 107 | $this->getNamespace(), |
108 | - $this->getNamespace() . '\\Async', |
|
108 | + $this->getNamespace().'\\Async', |
|
109 | 109 | $class |
110 | 110 | ), |
111 | 111 | $json, |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | $resource = $this->hydrate( |
126 | 126 | str_replace( |
127 | 127 | $this->getNamespace(), |
128 | - $this->getNamespace() . '\\Async', |
|
128 | + $this->getNamespace().'\\Async', |
|
129 | 129 | $class |
130 | 130 | ), |
131 | 131 | $json, |