summaryrefslogtreecommitdiff
path: root/Zend/tests/bug51176.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-02-03 22:52:20 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-02-03 22:52:20 +0100
commitf8d795820e780a6322e054c26c581570613c14f0 (patch)
tree99d3ae01ce564752807341c5743863b4c92513f8 /Zend/tests/bug51176.phpt
parentd2cb200e10ada6fa44c54a29292bb4665728fff0 (diff)
downloadphp-git-f8d795820e780a6322e054c26c581570613c14f0.tar.gz
Reindent phpt files
Diffstat (limited to 'Zend/tests/bug51176.phpt')
-rw-r--r--Zend/tests/bug51176.phpt28
1 files changed, 14 insertions, 14 deletions
diff --git a/Zend/tests/bug51176.phpt b/Zend/tests/bug51176.phpt
index c5185cc5fa..cf47b74da8 100644
--- a/Zend/tests/bug51176.phpt
+++ b/Zend/tests/bug51176.phpt
@@ -4,22 +4,22 @@ Bug #51176 (Static calling in non-static method behaves like $this->)
<?php
class Foo
{
- public function start()
- {
- self::bar();
- static::bar();
- Foo::bar();
- }
+ public function start()
+ {
+ self::bar();
+ static::bar();
+ Foo::bar();
+ }
- public function __call($n, $a)
- {
- echo "instance\n";
- }
+ public function __call($n, $a)
+ {
+ echo "instance\n";
+ }
- public static function __callStatic($n, $a)
- {
- echo "static\n";
- }
+ public static function __callStatic($n, $a)
+ {
+ echo "static\n";
+ }
}
$foo = new Foo();