From 993350073c1915efe740b071bb6e2298ccaac150 Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Sat, 20 Jun 2026 23:13:59 +0500 Subject: [PATCH] Cast `description` input to string with default value in `StoreUpdateRequest`. --- .../Http/Requests/Admin/Projects/About/StoreUpdateRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/application/app/Http/Requests/Admin/Projects/About/StoreUpdateRequest.php b/app/application/app/Http/Requests/Admin/Projects/About/StoreUpdateRequest.php index 55394c2..c222674 100644 --- a/app/application/app/Http/Requests/Admin/Projects/About/StoreUpdateRequest.php +++ b/app/application/app/Http/Requests/Admin/Projects/About/StoreUpdateRequest.php @@ -34,7 +34,7 @@ final class StoreUpdateRequest extends FormRequest implements FormRequestDto { return new StoreUpdate( title: $this->input('title'), - description: $this->input('description'), + description: (string) $this->input('description', ''), storages: $this->storages(), isTranslateAutomatically: (bool) $this->input('translate-automatically', false), );