diff options
Diffstat (limited to 'Zend/tests/objects_008.phpt')
-rw-r--r-- | Zend/tests/objects_008.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/tests/objects_008.phpt b/Zend/tests/objects_008.phpt index aae162ca9a..6554be99eb 100644 --- a/Zend/tests/objects_008.phpt +++ b/Zend/tests/objects_008.phpt @@ -10,15 +10,15 @@ class test { } class test2 extends test { - function foo(Test $arg) {} + function foo(Test $arg) {} } class test3 extends test { - function foo(Test3 $arg) {} + function foo(Test3 $arg) {} } echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- Warning: Declaration of test3::foo(Test3 $arg) should be compatible with test::foo(Test $arg) in %s on line %d Done |