diff options
Diffstat (limited to 'Zend/tests/traits/error_010.phpt')
-rw-r--r-- | Zend/tests/traits/error_010.phpt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Zend/tests/traits/error_010.phpt b/Zend/tests/traits/error_010.phpt index 8f3f7dddfd..de3741ea57 100644 --- a/Zend/tests/traits/error_010.phpt +++ b/Zend/tests/traits/error_010.phpt @@ -10,13 +10,9 @@ trait c { public function test() { return 2; } } -trait b { - public function test() { return 1; } -} - class bar { - use foo, c { c::test insteadof foo, b; } - use foo, c { c::test insteadof foo, b; } + use foo, c { c::test insteadof foo; } + use foo, c { c::test insteadof foo; } } $x = new bar; |