This commit is contained in:
James Cole
2018-09-27 05:57:06 +02:00
parent e0152d3df4
commit 6c4f967c39
3 changed files with 3 additions and 3 deletions

View File

@@ -92,7 +92,7 @@ class Request extends FormRequest
*/
public function string(string $field): string
{
return app('steam')->cleanString($this->get($field) ?? '');
return app('steam')->cleanString((string)($this->get($field) ?? ''));
}
/**