Skip to content

Commit bdd72da

Browse files
committed
Fixed type issues from LogLoginFailure entity integration tests
1 parent dafa74e commit bdd72da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Integration/Entity/LogLoginFailureTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ public function testThatGetterReturnsExpectedValue(
8282

8383
$logRequest = new LogLoginFailure(new User());
8484

85-
if (method_exists($meta, 'isManyToManyOwningSide')
85+
if ($meta !== null
86+
&& method_exists($meta, 'isManyToManyOwningSide')
8687
&& (
8788
$meta->isManyToManyOwningSide()
8889
|| $meta->isOneToMany()

0 commit comments

Comments
 (0)