Skip to content

Commit

Permalink
Merge pull request #5 from MKietlinski/master
Browse files Browse the repository at this point in the history
Fix getParameter return type declaration
  • Loading branch information
Zales0123 authored Nov 2, 2018
2 parents 23bf73a + bcf33c2 commit 37804ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Page/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function verifyUrl(array $urlParameters = []): void
}
}

protected function getParameter(string $name): NodeElement
protected function getParameter(string $name): ?string
{
return $this->parameters[$name] ?? null;
}
Expand Down

0 comments on commit 37804ad

Please sign in to comment.