Skip to content

Commit 0cdad49

Browse files
committed
Strongly type the closure parameter
1 parent da88ac0 commit 0cdad49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/src/Foundation/PageCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function runDiscovery(): self
7272

7373
protected function discoverPagesFor(string $pageClass): void
7474
{
75-
$this->parsePagesFor($pageClass)->each(function ($page): void {
75+
$this->parsePagesFor($pageClass)->each(function (HydePage $page): void {
7676
$this->discover($page);
7777
});
7878
}

0 commit comments

Comments
 (0)