summaryrefslogtreecommitdiff
path: root/Zend/tests/traits/error_012.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/traits/error_012.phpt')
-rw-r--r--Zend/tests/traits/error_012.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/traits/error_012.phpt b/Zend/tests/traits/error_012.phpt
index 50a454c324..999fed6c8e 100644
--- a/Zend/tests/traits/error_012.phpt
+++ b/Zend/tests/traits/error_012.phpt
@@ -4,11 +4,11 @@ Trying to access a protected trait method
<?php
trait foo {
- public function test() { return 3; }
+ public function test() { return 3; }
}
class bar {
- use foo { test as protected; }
+ use foo { test as protected; }
}
$x = new bar;