Remove unreachable return statement
This commit is contained in:
1 parent
bcf0697d7d
commit
71b81b7f96
1 file changed
+1
-4
@@ -39,15 +39,12 @@ trait FormAccessible
|
|||||||
// retrieval from the model to a form that is more useful for usage.
|
// retrieval from the model to a form that is more useful for usage.
|
||||||
if ($this->hasFormMutator($key)) {
|
if ($this->hasFormMutator($key)) {
|
||||||
return $this->mutateFormAttribute($key, $value);
|
return $this->mutateFormAttribute($key, $value);
|
||||||
} else {
|
}
|
||||||
|
|
||||||
// No form mutator, let the model resolve this
|
// No form mutator, let the model resolve this
|
||||||
return data_get($this, $key);
|
return data_get($this, $key);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $value;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $key
|
* @param $key
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in new issue
Block a user