summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_071.phpt
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2016-08-08 16:15:59 +0100
committerNikita Popov <nikic@php.net>2016-08-11 18:44:43 +0200
commit1dab96c1db2d7c5663569d9c55f63d8e25a0dddc (patch)
tree5f7ed3db53467a96ebbea5975ec17d68a8127895 /Zend/tests/ns_071.phpt
parentb33e9651117d8f7cfa6b469a8a6bda68d82b4365 (diff)
downloadphp-git-1dab96c1db2d7c5663569d9c55f63d8e25a0dddc.tar.gz
Show "or null" in TypeErrors for nullable arg_infos
Diffstat (limited to 'Zend/tests/ns_071.phpt')
-rw-r--r--Zend/tests/ns_071.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/ns_071.phpt b/Zend/tests/ns_071.phpt
index 2f2fcfad1a..d7f1592b38 100644
--- a/Zend/tests/ns_071.phpt
+++ b/Zend/tests/ns_071.phpt
@@ -18,7 +18,7 @@ new bar(new \stdclass);
--EXPECTF--
NULL
-Fatal error: Uncaught TypeError: Argument 1 passed to foo\bar::__construct() must be of the type array, object given, called in %s on line %d and defined in %s:%d
+Fatal error: Uncaught TypeError: Argument 1 passed to foo\bar::__construct() must be of the type array or null, object given, called in %s on line %d and defined in %s:%d
Stack trace:
#0 %s(%d): foo\bar->__construct(Object(stdClass))
#1 {main}