From 91ff02993b384c871078f0372e73e1613c4089c8 Mon Sep 17 00:00:00 2001 From: Mark Wiesemann Date: Sun, 27 Jun 2010 19:52:06 +0000 Subject: [PATCH] - coding standards - adding missing "public" modifier git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300786 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/magic.xml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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