Skip to content

Commit

Permalink
Add class string parameter type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Oct 28, 2023
1 parent b1318e6 commit d03b7f0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ protected function getSubdirectoryConfiguration(): string
return Config::getString('hyde.navigation.subdirectories', 'hidden');
}

/** @param class-string $class */
protected function isInstanceOf(string $class): bool
{
return is_a($this->pageClass, $class, true);
Expand Down

0 comments on commit d03b7f0

Please sign in to comment.