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

View File

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