Passed
Pull Request — master (#26)
by Aleksei
02:07
created
src/Relation/Traits/FieldTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     protected function getFields(Entity $entity, int $option): FieldMap
43 43
     {
44 44
         $fields = new FieldMap();
45
-        $keys = (array)$this->getOptions()->get($option);
45
+        $keys = (array) $this->getOptions()->get($option);
46 46
 
47 47
         foreach ($keys as $key) {
48 48
             try {
Please login to merge, or discard this patch.
src/Relation/Traits/MorphTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 
101 101
         if ($this->options->get(self::INDEX_CREATE)) {
102 102
             $index = array_merge(array_map(
103
-                static function (FieldMap $map): array {
103
+                static function(FieldMap $map): array {
104 104
                     return $map->getColumnNames();
105 105
                 },
106 106
                 $mergeMaps
Please login to merge, or discard this patch.