|string> */ public function rules(): array { return [ 'name' => ['required', 'string', 'max:255'], 'type' => ['required', 'string', 'max:255'], 'environment_id' => ['nullable', 'integer'], 'status' => ['required', 'string', 'max:255'], 'config' => ['nullable', 'string'], ]; } }