diff options
Diffstat (limited to 'tests/classes/protected_001b.phpt')
-rw-r--r-- | tests/classes/protected_001b.phpt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/classes/protected_001b.phpt b/tests/classes/protected_001b.phpt index 6f00ffc1b3..971436c844 100644 --- a/tests/classes/protected_001b.phpt +++ b/tests/classes/protected_001b.phpt @@ -4,13 +4,13 @@ ZE2 A protected method can only be called inside the class <?php class pass { - protected function fail() { - echo "Call fail()\n"; - } + protected function fail() { + echo "Call fail()\n"; + } - public function good() { - $this->fail(); - } + public function good() { + $this->fail(); + } } $t = new pass(); |