diff options
Diffstat (limited to 'documentation/magic-methods.html')
-rw-r--r-- | documentation/magic-methods.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/magic-methods.html b/documentation/magic-methods.html index 87c6cc2..c7902ea 100644 --- a/documentation/magic-methods.html +++ b/documentation/magic-methods.html @@ -68,7 +68,7 @@ public: if (name == "email") return _email; // property not supported, fall back on default - Php::Base::__get(name); + return Php::Base::__get(name); } /** @@ -82,7 +82,7 @@ public: if (name == "name") { // store member - _name = value; + _name = value.stringValue(); } // we check emails for validity |