Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit a5633c7

Browse files
mishatrinexDavertMik
authored andcommitted
Return false if exception didn't raise (#44)
1 parent 1967be1 commit a5633c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Constraint/JsonContains.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ protected function matches($other) : bool
4949
$failure
5050
);
5151
}
52+
53+
return false;
5254
}
5355

5456
/**

0 commit comments

Comments
 (0)