We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bcf0697 + 71b81b7 commit 9f534cbCopy full SHA for 9f534cb
src/Eloquent/FormAccessible.php
@@ -39,13 +39,10 @@ public function getFormValue($key)
39
// retrieval from the model to a form that is more useful for usage.
40
if ($this->hasFormMutator($key)) {
41
return $this->mutateFormAttribute($key, $value);
42
- } else {
43
-
44
- // No form mutator, let the model resolve this
45
- return data_get($this, $key);
46
}
47
48
- return $value;
+ // No form mutator, let the model resolve this
+ return data_get($this, $key);
49
50
51
/**
0 commit comments