Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/cms/classes/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ public function getLayout()
* @param mixed $name Specifies the Cms Page file name.
* @param array $parameters Route parameters to consider in the URL.
* @param bool $routePersistence By default the existing routing parameters will be included
* @return string
* @return string|null
*/
public function pageUrl($name, $parameters = [], $routePersistence = true)
{
Expand Down Expand Up @@ -1519,7 +1519,7 @@ public function findComponentByHandler($handler)
/**
* Searches the layout and page components by a partial file
* @param string $partial
* @return ComponentBase The component object, if found
* @return ComponentBase|null The component object, if found
*/
public function findComponentByPartial($partial)
{
Expand Down
2 changes: 1 addition & 1 deletion modules/cms/classes/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static function getNameList()
* Helper that makes a URL for a page in the active theme.
* @param mixed $page Specifies the Cms Page file name.
* @param array $params Route parameters to consider in the URL.
* @return string
* @return string|null
*/
public static function url($page, array $params = [])
{
Expand Down