Textinput validate convert int to string

protected function handleRecordUpdate(Model $record, array $data): Model
    {

        dd($this->validate());
php

When I do a dd($data) it returns the TextInput fields as int, but if I pass it $this->validate() it converts them to string?
Was this page helpful?