@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | private static function _mock($resourceType): object { |
82 | 82 | $instanceType = $resourceType->getInstanceType(); |
83 | 83 | $reflection = new \ReflectionClass($instanceType->name); |
84 | - if($reflection->isAbstract()) { |
|
84 | + if ($reflection->isAbstract()) { |
|
85 | 85 | return new stdClass(); |
86 | 86 | } |
87 | 87 | $mock = $reflection->newInstanceWithoutConstructor(); |
@@ -90,11 +90,11 @@ discard block |
||
90 | 90 | $property->setAccessible(true); |
91 | 91 | |
92 | 92 | $type = $property->getType(); |
93 | - if($resourceType instanceof ResourceProperty) { |
|
94 | - $resourceType = $resourceType->getResourceType(); |
|
93 | + if ($resourceType instanceof ResourceProperty) { |
|
94 | + $resourceType = $resourceType->getResourceType(); |
|
95 | 95 | } |
96 | 96 | $resourceProperty = $resourceType->resolveProperty($property->getName()); |
97 | - if(is_null($resourceProperty)) continue; |
|
97 | + if (is_null($resourceProperty)) continue; |
|
98 | 98 | |
99 | 99 | $resourcePropertyType = $resourceProperty->getResourceType(); |
100 | 100 | $resourceKind = $resourcePropertyType->getResourceTypeKind(); |