summaryrefslogtreecommitdiff
path: root/tests/classes/protected_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/protected_001.phpt')
-rw-r--r--tests/classes/protected_001.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/classes/protected_001.phpt b/tests/classes/protected_001.phpt
index 44099b18fa..026a0f424b 100644
--- a/tests/classes/protected_001.phpt
+++ b/tests/classes/protected_001.phpt
@@ -4,13 +4,13 @@ ZE2 A protected method can only be called inside the class
<?php
class pass {
- protected static function fail() {
- echo "Call fail()\n";
- }
+ protected static function fail() {
+ echo "Call fail()\n";
+ }
- public static function good() {
- pass::fail();
- }
+ public static function good() {
+ pass::fail();
+ }
}
pass::good();