Skip to content

Commit

Permalink
Fix mismatch in classname for cache discovery
Browse files Browse the repository at this point in the history
See #5
  • Loading branch information
reyostallenberg authored Aug 3, 2024
1 parent 9fb31dc commit 0ec77e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discover.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ final class Discover implements DiscoverContract

public static function cache(bool $singleton = false): ?object
{
$implementationsPackage = '\PsrDiscovery\Implementations\Psr6\Cache';
$implementationsPackage = '\PsrDiscovery\Implementations\Psr6\Caches';

if (! class_exists($implementationsPackage)) {
throw new SupportPackageNotFoundException('PSR-6 Cache', 'psr-discovery/cache-implementations');
Expand Down

0 comments on commit 0ec77e9

Please sign in to comment.