Passed
Branch master (cd5206)
by Tom
02:53 queued 58s
created
maphper/lib/propertywriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@
 block discarded – undo
4 4
 	private $closure;
5 5
 	public function __construct($object) {
6 6
 		if ($object instanceof \stdclass) {
7
-			$this->closure = function ($field, $value) use ($object) { $object->$field = $value; };
7
+			$this->closure = function($field, $value) use ($object) { $object->$field = $value; };
8 8
 		}
9 9
 		else {
10
-			$this->closure = function ($field, $value) { $this->$field = $value; };
10
+			$this->closure = function($field, $value) { $this->$field = $value; };
11 11
 			$this->closure = $this->closure->bindTo($object, $object);
12 12
 		}
13 13
 	}
Please login to merge, or discard this patch.