Merge pull request #2643 from GeoffreyFrogeye/typo2640

Fixed definition of Request->nullableNlString
This commit is contained in:
James Cole 2019-09-23 05:07:45 +02:00 committed by GitHub
commit 765d8f95b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,7 +244,7 @@ class Request extends FormRequest
*
* @return string
*/
public function nullableNlString(string $field): string
public function nullableNlString(string $field): ?string
{
if (!$this->has($field)) {
return null;