Completed
Pull Request — master (#5452)
by
unknown
42s
created
src/Form/Field/MultipleSelect.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,7 @@
 block discarded – undo
38 38
                 $fullKeyArray = explode('.', $fullKey);
39 39
 
40 40
                 return $this->otherKey = 'pivot.' . end($fullKeyArray);
41
-            }
42
-            else if ($relation instanceof HasManyRelation) {
41
+            } else if ($relation instanceof HasManyRelation) {
43 42
                 /* @var HasManyRelation $relation */
44 43
                 return $this->otherKey = $relation->getRelated()->getKeyName();
45 44
             }
Please login to merge, or discard this patch.