[ 'required', ], 'description' => [ 'nullable', ], ]; } public function getExpenseCategoryPayload() { return collect($this->validated()) ->merge([ 'company_id' => $this->header('company') ]) ->toArray(); } }