Skip to content

Commit

Permalink
Updated PHPDocs to make PHPStan happy
Browse files Browse the repository at this point in the history
  • Loading branch information
BelleNottelling committed Nov 10, 2023
1 parent 17fbfdf commit 01f0ab2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/AntCMS/AntCMS.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ public function getRequest(): ?Request
}

/**
* Renders a page based on the provided page name.
*
* @param string $page The name of the page to be rendered
* @return string The rendered HTML of the page
* Renders the page based on the request URI
*/
public function renderPage(): Response
{
Expand Down Expand Up @@ -248,9 +245,6 @@ public static function getSiteInfo()
return AntConfig::currentConfig('siteInfo');
}

/**
* @return void
*/
public function serveContent(): Response
{
$path = $this->request->getUri();
Expand Down

0 comments on commit 01f0ab2

Please sign in to comment.