Skip to content

Commit

Permalink
Revert "Use more verbose facade access helper"
Browse files Browse the repository at this point in the history
This reverts commit 8a18722.
  • Loading branch information
caendesilva committed Jul 17, 2024
1 parent 8a18722 commit caf5100
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/framework/src/Pages/Concerns/HydePage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use Hyde\Hyde;
use Hyde\Facades\Config;
use Hyde\Foundation\Facades;
use Hyde\Foundation\Facades\Files;
use Hyde\Foundation\Facades\Pages;
use Hyde\Foundation\Facades\Routes;
Expand Down Expand Up @@ -143,7 +144,7 @@ public static function files(): array
*/
public static function all(): PageCollection
{
return Hyde::pages()->getPages(static::class);
return Facades\Pages::getPages(static::class);
}

// Section: Filesystem
Expand Down

0 comments on commit caf5100

Please sign in to comment.