diff options
Diffstat (limited to 'Zend/tests/type_declarations/typed_properties_040.phpt')
-rw-r--r-- | Zend/tests/type_declarations/typed_properties_040.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/type_declarations/typed_properties_040.phpt b/Zend/tests/type_declarations/typed_properties_040.phpt index db2b90903c..0b47c92a87 100644 --- a/Zend/tests/type_declarations/typed_properties_040.phpt +++ b/Zend/tests/type_declarations/typed_properties_040.phpt @@ -19,7 +19,7 @@ var_dump($foo->bar); --EXPECTF-- string(3) "bar" -Fatal error: Uncaught TypeError: Typed property Foo::$bar must be int, null used in %s:14 +Fatal error: Uncaught TypeError: Cannot assign null to property Foo::$bar of type int in %s:%d Stack trace: #0 {main} - thrown in %s on line 14 + thrown in %s on line %d |