File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 88use Carbon \CarbonInterface ;
99
1010/**
11+ * @psalm-import-type ScrapedRaces from ScraperInterface
1112 * @psalm-import-type ScrapedStadiumRaces from ScraperInterface
1213 *
1314 * @author shimomo
@@ -26,7 +27,7 @@ public function __construct(private readonly ScraperInterface $scraper)
2627
2728 /**
2829 * @psalm-param \Carbon\CarbonInterface|string $date
29- * @psalm-return ScrapedStadiumRaces
30+ * @psalm-return ScrapedRaces
3031 *
3132 * @param \Carbon\CarbonInterface|string $date
3233 * @return array
@@ -41,7 +42,7 @@ public function scrape(CarbonInterface|string $date = 'today'): array
4142
4243 /**
4344 * @psalm-param ScrapedStadiumRaces $programs
44- * @psalm-return ScrapedStadiumRaces
45+ * @psalm-return ScrapedRaces
4546 *
4647 * @param array $programs
4748 * @return array
@@ -59,7 +60,7 @@ private function normalize(array $programs): array
5960 }
6061 }
6162
62- /** @psalm-var ScrapedStadiumRaces */
63+ /** @psalm-var ScrapedRaces */
6364 return $ newPrograms ;
6465 }
6566}
You can’t perform that action at this time.
0 commit comments