Fixed the settings form request for the newer migration
This commit is contained in:
parent
274ed2b555
commit
93bc533aed
1 changed files with 4 additions and 6 deletions
|
@ -12,18 +12,16 @@ class BlueprintSettingsFormRequest extends AdminFormRequest
|
|||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'placeholder:1' => 'string',
|
||||
'placeholder:2' => 'string',
|
||||
'placeholder:3' => 'string',
|
||||
'placeholder' => 'string',
|
||||
'developer' => 'boolean',
|
||||
];
|
||||
}
|
||||
|
||||
public function attributes(): array
|
||||
{
|
||||
return [
|
||||
'placeholder:1' => 'placeholder',
|
||||
'placeholder:2' => 'placeholder',
|
||||
'placeholder:3' => 'placeholder',
|
||||
'placeholder' => 'placeholder',
|
||||
'developer' => 'developer',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue