Skip to content

Commit b0507ba

Browse files
authored
Merge pull request #46 from experius/bugfix/NUA-149
[BUGFIX][NUA-149]update to use explicit nullable type
2 parents 7efba11 + 9926d92 commit b0507ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Observer/Controller/ActionPredispatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ protected function stripFromUrl(){
122122
* @return array|ActionInterface|string|string[]|void
123123
* @throws \Exception
124124
*/
125-
protected function savePageNotFound($fromUrl, $isGraphql = false, StoreInterface $store = null)
125+
protected function savePageNotFound($fromUrl, $isGraphql = false, ?StoreInterface $store = null)
126126
{
127127
/* @var $pageNotFoundModel PageNotFound */
128128
$pageNotFoundModel = $this->pageNotFoundFactory->create();

0 commit comments

Comments
 (0)