Skip to content

Commit

Permalink
Revert "Use lower level access call to try to bypass Psalm issues"
Browse files Browse the repository at this point in the history
This reverts commit c3edbb6.
  • Loading branch information
caendesilva committed Jul 17, 2024
1 parent c3edbb6 commit 4853363
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/framework/src/Framework/Services/BuildService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

use Hyde\Hyde;
use Hyde\Foundation\Facades\Routes;
use Hyde\Foundation\Kernel\PageCollection;
use Hyde\Foundation\Kernel\RouteCollection;
use Hyde\Framework\Actions\StaticPageBuilder;
use Hyde\Framework\Concerns\InteractsWithDirectories;
Expand Down Expand Up @@ -88,7 +87,7 @@ protected function getClassPluralName(string $pageClass): string
/** @return array<class-string<\Hyde\Pages\Concerns\HydePage>> */
protected function getPageTypes(): array
{
return PageCollection::getPages()->map(function (HydePage $page): string {
return Hyde::pages()->map(function (HydePage $page): string {
return $page::class;
})->unique()->values()->toArray();
}
Expand Down

0 comments on commit 4853363

Please sign in to comment.