79484109

Date: 2025-03-04 15:23:58
Score: 1
Natty:
Report link

If data is intended to be an array , you need to update your validation rules to reflect that. For example:

public function rules(): array
{
    return [
        'data' => 'required'    ];
}

public function messages(): array
{
    return [
        'data.required' => 'error.action.required.data',
    ];
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ali amini