use Stringable method to render a string value
This commit is contained in:
parent
e2b0762945
commit
844d3b867c
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ class UpdateStaticPageRequest extends FormRequest
|
|||
public function prepareForValidation(): void
|
||||
{
|
||||
$this->merge([
|
||||
'content' => (string)Str::of($this->input('content'))
|
||||
'content' => Str::of($this->input('content'))->value()
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue