property-accessor.php

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

commit d5175f30debe13716abf854114bdd30a4fef2d32
parent 9d5d7b4fe1907957d30b7526f071d9bb7eb44bda
Author: finwo <finwo@pm.me>
Date:   Sun, 17 Apr 2016 21:06:50 +0200

Bugfix

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

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