Skip to content

Commit

Permalink
Add class-string annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jan 21, 2023
1 parent a16c7c1 commit 42be11e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/framework/src/Support/Models/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public function getPage(): HydePage
return $this->page;
}

/** @return class-string<HydePage> */
public function getPageClass(): string
{
return $this->page::class;
Expand Down

0 comments on commit 42be11e

Please sign in to comment.