Skip to content

Commit

Permalink
Fix collect call
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 4, 2023
1 parent caf5b16 commit 5c0edd9
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ protected function runExtensionCallbacks(): void
protected function discoverPagesFor(string $pageClass): void
{
/** @var HydePage $pageClass */
collect($pageClass::files()->each(function (string $page) use ($pageClass): void {
$this->addPage($pageClass::parse($page));
}));
}
Expand Down

0 comments on commit 5c0edd9

Please sign in to comment.