Skip to content

Commit 10fc55b

Browse files
author
Dominic
committed
remove unwanted condition check
1 parent 1fde486 commit 10fc55b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/code/Magento/Cms/Helper/Page.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,8 @@ public function prepareResultPage(Action $action, $pageId = null)
180180
/**
181181
* Retrieve page direct URL
182182
*
183-
* @param null $pageId
184-
* @return string|null
185-
* @throws \Magento\Framework\Exception\NoSuchEntityException
183+
* @param string $pageId
184+
* @return string
186185
*/
187186
public function getPageUrl($pageId = null)
188187
{

0 commit comments

Comments
 (0)