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 a248e3b commit 2d034aaCopy full SHA for 2d034aa
src/Type/ObjectShapeType.php
@@ -301,17 +301,7 @@ public function isSuperTypeOf(Type $type): IsSuperTypeOfResult
301
}
302
303
$result = $result->and($hasProperty);
304
-<<<<<<< HEAD
305
- $otherProperty = $type->getProperty($propertyName, $scope);
306
-=======
307
-
308
- try {
309
- $otherProperty = $type->getInstanceProperty($propertyName, $scope);
310
- } catch (MissingPropertyFromReflectionException) {
311
- return $result;
312
- }
313
314
->>>>>>> a507ab857 (Solve deprecations)
+ $otherProperty = $type->getInstanceProperty($propertyName, $scope);
315
if (!$otherProperty->isPublic()) {
316
return IsSuperTypeOfResult::createNo();
317
0 commit comments