Skip to content

Commit 37e97db

Browse files
committed
Update: Unit Test to #20632
1 parent 277f1c6 commit 37e97db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/pdo/tests/pdo_fetch_function_incorrect_call.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ PDOTest::dropTableIfExists($db, "pdo_fetch_function_incorrect_call");
4747
?>
4848
--EXPECT--
4949
Fetch all with bogus call:
50-
TypeError: bogusCallback(): Argument #1 ($obj) must be of type stdClass, string given
50+
TypeError: bogusCallback(): Argument #1 ($obj) must be of type stdClass, non-numeric string given

ext/zend_test/tests/zend_object_init_with_constructor.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Error: Call to private PrivateUser::__construct() from global scope
150150
Exception: Don't construct
151151
Testing param passing
152152
ArgumentCountError: Too few arguments to function TestUserWithConstructorArgs::__construct(), 0 passed and exactly 2 expected
153-
TypeError: TestUserWithConstructorArgs::__construct(): Argument #1 ($int_param) must be of type int, string given
153+
TypeError: TestUserWithConstructorArgs::__construct(): Argument #1 ($int_param) must be of type int, non-numeric string given
154154
Error: Unknown named parameter $unused_param
155155
object(TestUserWithConstructorArgs)#1 (0) {
156156
}

0 commit comments

Comments
 (0)