property-accessor.php

Simple property accessor library
git clone git://git.finwo.net/lib/property-accessor.php
Log | Files | Refs

commit 8e24b69046eb7076d4f18ffa20468cb9d490c341
parent d5175f30debe13716abf854114bdd30a4fef2d32
Author: finwo <finwo@pm.me>
Date:   Sun, 17 Apr 2016 21:15:10 +0200

Bugfix

Diffstat:
Msrc/PropertyAccessor.php | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/PropertyAccessor.php b/src/PropertyAccessor.php @@ -134,9 +134,10 @@ class PropertyAccessor if (method_exists($subject, $method = sprintf("set%s", $camelized))) { call_user_func(array( $subject, - $method, + $method + ), $value - )); + ); return $this; }