Skip to content

Commit 2d034aa

Browse files
Fix rebase
1 parent a248e3b commit 2d034aa

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/Type/ObjectShapeType.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -301,17 +301,7 @@ public function isSuperTypeOf(Type $type): IsSuperTypeOfResult
301301
}
302302

303303
$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)
304+
$otherProperty = $type->getInstanceProperty($propertyName, $scope);
315305
if (!$otherProperty->isPublic()) {
316306
return IsSuperTypeOfResult::createNo();
317307
}

0 commit comments

Comments
 (0)