Whoops ;)

This commit is contained in:
James Cole 2016-11-24 19:20:04 +01:00
parent d9849f60c0
commit 295dcb4f65
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -160,7 +160,7 @@ class JournalFormRequest extends Request
*/ */
private function getFieldOrEmptyString(string $field): string private function getFieldOrEmptyString(string $field): string
{ {
$tring = $this->get($field) ?? ''; $string = $this->get($field) ?? '';
return trim($string); return trim($string);
} }
} }