Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit f6bc4a0

Browse files
committed
Remove nullable types from two arguments
Since we have default `null` values already, they do not need to be reported as nullable to allow a `null` value to be passed.
1 parent 7eb61df commit f6bc4a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/UrlHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ public function __construct(BaseHelper $helper)
3737
* @return string
3838
*/
3939
public function __invoke(
40-
?string $routeName = null,
40+
string $routeName = null,
4141
array $routeParams = [],
4242
array $queryParams = [],
43-
?string $fragmentIdentifier = null,
43+
string $fragmentIdentifier = null,
4444
array $options = []
4545
) {
4646
return $this->helper->generate($routeName, $routeParams, $queryParams, $fragmentIdentifier, $options);

0 commit comments

Comments
 (0)