Skip to content

Commit

Permalink
Add PHPDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Aug 11, 2022
1 parent 1866476 commit e906909
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
use JetBrains\PhpStorm\ArrayShape;

/**
* Finds the appropriate navigation data for a page.
*
* @see \Hyde\Framework\Testing\Feature\AbstractPageTest
*/
class FindsNavigationDataForPage
Expand All @@ -32,6 +34,9 @@ protected function getData(): array
];
}

/**
* Note that this also affects the documentation sidebar titles.
*/
protected function getNavigationMenuTitle(): string
{
if ($this->page->matter('navigation.title') !== null) {
Expand Down

0 comments on commit e906909

Please sign in to comment.