From 93bc533aedd4702f55ff3543a41204b82d2a195d Mon Sep 17 00:00:00 2001 From: purple Date: Sat, 8 Apr 2023 16:16:03 +0200 Subject: [PATCH] Fixed the settings form request for the newer migration --- .../Blueprint/BlueprintSettingsFormRequest.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/Http/Requests/Admin/Extensions/Blueprint/BlueprintSettingsFormRequest.php b/app/Http/Requests/Admin/Extensions/Blueprint/BlueprintSettingsFormRequest.php index 1b0d8e2..39a6ec0 100644 --- a/app/Http/Requests/Admin/Extensions/Blueprint/BlueprintSettingsFormRequest.php +++ b/app/Http/Requests/Admin/Extensions/Blueprint/BlueprintSettingsFormRequest.php @@ -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', ]; } }