Skip to content

Commit

Permalink
Similar changes have been applied to the getUrls method in the Resour…
Browse files Browse the repository at this point in the history
…ceCaches class.
  • Loading branch information
Spomky committed Apr 5, 2024
1 parent dd24a77 commit 7f1d07b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CachingStrategy/PreloadUrlsGeneratorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
interface PreloadUrlsGeneratorInterface
{
/**
* @return iterable<Url>
* @return iterable<Url|string>
*/
public function generateUrls(): iterable;
}
2 changes: 1 addition & 1 deletion src/CachingStrategy/ResourceCaches.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private function prepareMatchCallback(string $matchCallback): string

/**
* @param array<Url> $urls
* @return array<Url>
* @return array<Url|string>
*/
private function getUrls(array $urls): array
{
Expand Down

0 comments on commit 7f1d07b

Please sign in to comment.