We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27bfdcc commit d0bf6b1Copy full SHA for d0bf6b1
src/Type/ObjectShapeType.php
@@ -296,7 +296,7 @@ public function isSuperTypeOf(Type $type): IsSuperTypeOfResult
296
$result = IsSuperTypeOfResult::createYes();
297
$scope = new OutOfClassScope();
298
foreach ($this->properties as $propertyName => $propertyType) {
299
- $hasProperty = new IsSuperTypeOfResult($type->hasInstanceProperty((string)$propertyName), []);
+ $hasProperty = new IsSuperTypeOfResult($type->hasInstanceProperty((string) $propertyName), []);
300
if ($hasProperty->no()) {
301
if (in_array($propertyName, $this->optionalProperties, true)) {
302
continue;
0 commit comments