Skip to content

Commit 2fef794

Browse files
committed
Fix test
1 parent ebde206 commit 2fef794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/streams/stream_context_create_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ try {
1717

1818
try {
1919
stream_context_create(['ssl' => ['verify_peer'=> false]], ["options" => false]);
20-
} catch (ValueError $exception) {
20+
} catch (TypeError $exception) {
2121
echo $exception->getMessage() . "\n";
2222
}
2323
?>

0 commit comments

Comments
 (0)