Skip to content

Commit

Permalink
Remove type annotations that should be inherited from generics
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 17, 2024
1 parent cf74c2a commit cac80aa
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public function getFile(string $path): SourceFile

/**
* @param class-string<\Hyde\Pages\Concerns\HydePage>|null $pageClass
* @return \Hyde\Foundation\Kernel\FileCollection<string, \Hyde\Support\Filesystem\SourceFile>
*/
public function getFiles(?string $pageClass = null): FileCollection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public function getPage(string $sourcePath): HydePage

/**
* @param class-string<\Hyde\Pages\Concerns\HydePage>|null $pageClass
* @return \Hyde\Foundation\Kernel\PageCollection<string, \Hyde\Pages\Concerns\HydePage>
*/
public function getPages(?string $pageClass = null): PageCollection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public function getRoute(string $routeKey): Route

/**
* @param class-string<\Hyde\Pages\Concerns\HydePage>|null $pageClass
* @return \Hyde\Foundation\Kernel\RouteCollection<string, \Hyde\Support\Models\Route>
*/
public function getRoutes(?string $pageClass = null): RouteCollection
{
Expand Down

0 comments on commit cac80aa

Please sign in to comment.