Completed
Branch master (eb6d5f)
by Dmitry
02:18
created
src/Repository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
             $data = $newData;
48 48
         }
49 49
 
50
-        foreach($data as $k => $v) {
51
-            if(!$this->type->hasProperty($k)) {
50
+        foreach ($data as $k => $v) {
51
+            if (!$this->type->hasProperty($k)) {
52 52
                 throw new \Exception("Unknown property $k");
53 53
             }
54 54
         }
Please login to merge, or discard this patch.
src/Schema/Meta.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
         if ($fields) {
70 70
             foreach ($fields as $index => $field) {
71 71
                 if ($field instanceof Contracts\Type) {
72
-                    if(!is_numeric($index)) {
72
+                    if (!is_numeric($index)) {
73 73
                         $instance->reference($field, $index);
74 74
                     } else {
75 75
                         $instance->reference($field);
Please login to merge, or discard this patch.