diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-03 22:52:20 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-03 22:52:20 +0100 |
commit | f8d795820e780a6322e054c26c581570613c14f0 (patch) | |
tree | 99d3ae01ce564752807341c5743863b4c92513f8 /Zend/tests/bug48770.phpt | |
parent | d2cb200e10ada6fa44c54a29292bb4665728fff0 (diff) | |
download | php-git-f8d795820e780a6322e054c26c581570613c14f0.tar.gz |
Reindent phpt files
Diffstat (limited to 'Zend/tests/bug48770.phpt')
-rw-r--r-- | Zend/tests/bug48770.phpt | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/Zend/tests/bug48770.phpt b/Zend/tests/bug48770.phpt index 6ae972a7ab..e96047c79b 100644 --- a/Zend/tests/bug48770.phpt +++ b/Zend/tests/bug48770.phpt @@ -6,43 +6,43 @@ See Bug #48770 <?php class A { - public function func($str) { - var_dump(__METHOD__ .': '. $str); - } - private function func2($str) { - var_dump(__METHOD__ .': '. $str); - } - protected function func3($str) { - var_dump(__METHOD__ .': '. $str); - } - private function func22($str) { - var_dump(__METHOD__ .': '. $str); - } + public function func($str) { + var_dump(__METHOD__ .': '. $str); + } + private function func2($str) { + var_dump(__METHOD__ .': '. $str); + } + protected function func3($str) { + var_dump(__METHOD__ .': '. $str); + } + private function func22($str) { + var_dump(__METHOD__ .': '. $str); + } } class B extends A { - public function func($str) { - static $avoid_crash = 0; + public function func($str) { + static $avoid_crash = 0; - if ($avoid_crash++ == 1) { - print "This method shouldn't be called when using parent::func!\n"; - return; - } + if ($avoid_crash++ == 1) { + print "This method shouldn't be called when using parent::func!\n"; + return; + } - call_user_func_array(array($this, 'parent::func'), array($str)); - } - private function func2($str) { - var_dump(__METHOD__ .': '. $str); - } - protected function func3($str) { - var_dump(__METHOD__ .': '. $str); - } + call_user_func_array(array($this, 'parent::func'), array($str)); + } + private function func2($str) { + var_dump(__METHOD__ .': '. $str); + } + protected function func3($str) { + var_dump(__METHOD__ .': '. $str); + } } class C extends B { - public function func($str) { - parent::func($str); - } + public function func($str) { + parent::func($str); + } } $c = new C; |