diff --git a/language/oop5/magic.xml b/language/oop5/magic.xml index 7282bc6458..2d601de420 100644 --- a/language/oop5/magic.xml +++ b/language/oop5/magic.xml @@ -74,7 +74,8 @@ foo = $foo; } - public function __toString() { + public function __toString() + { return $this->foo; } } @@ -174,8 +177,10 @@ Hello