diff options
Diffstat (limited to 'Zend/tests/traits/language016.phpt')
-rw-r--r-- | Zend/tests/traits/language016.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/tests/traits/language016.phpt b/Zend/tests/traits/language016.phpt index 1c6bbeabac..2c07235fe9 100644 --- a/Zend/tests/traits/language016.phpt +++ b/Zend/tests/traits/language016.phpt @@ -3,15 +3,15 @@ Invalid conflict resolution (unused trait as rhs of "insteadof") --FILE-- <?php trait T1 { - function foo() {echo "T1\n";} + function foo() {echo "T1\n";} } trait T2 { function foo() {echo "T2\n";} } class C { - use T1 { - T1::foo insteadof T2; - } + use T1 { + T1::foo insteadof T2; + } } --EXPECTF-- Fatal error: Required Trait T2 wasn't added to C in %slanguage016.php on line %d |