Use of ConvertToSnakeCase (laravel 5.8) throws an error "Declaration of Flugg\Responder\Http\Middleware\ConvertToSnakeCase::cleanArray(array $data) should be compatible with Illuminate\Foundation\Http\Middleware\TransformsRequest::cleanArray(array $data, $keyPrefix = '')".
To resolve method should be declared:
protected function cleanArray(array $data, $keyPrefix = '')
Hello,
Use of ConvertToSnakeCase (laravel 5.8) throws an error "Declaration of Flugg\Responder\Http\Middleware\ConvertToSnakeCase::cleanArray(array $data) should be compatible with Illuminate\Foundation\Http\Middleware\TransformsRequest::cleanArray(array $data, $keyPrefix = '')".
To resolve method should be declared:
protected function cleanArray(array $data, $keyPrefix = '')