Skip to content

Commit

Permalink
fix: Change MemcachedAdapter to use
Browse files Browse the repository at this point in the history
  • Loading branch information
apple-x-co committed May 8, 2024
1 parent 20a3ece commit 0bf6cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StorageMemcachedModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __construct(
protected function configure(): void
{
$this->install(new Psr6MemcachedModule($this->servers));
$this->bind(CacheItemPoolInterface::class)->annotatedWith(EtagPool::class)->toConstructor(MemcachedAdapter::class::class, [
$this->bind(CacheItemPoolInterface::class)->annotatedWith(EtagPool::class)->toConstructor(MemcachedAdapter::class, [

Check failure on line 30 in src/StorageMemcachedModule.php

View workflow job for this annotation

GitHub Actions / sa / PHPStan

Class Ray\PsrCacheModule\MemcachedAdapter not found.

Check failure on line 30 in src/StorageMemcachedModule.php

View workflow job for this annotation

GitHub Actions / sa / Psalm

UndefinedClass: Class, interface or enum named Ray\PsrCacheModule\MemcachedAdapter does not exist

Check failure on line 30 in src/StorageMemcachedModule.php

View workflow job for this annotation

GitHub Actions / sa / Psalm

MixedArgument: Argument 1 of Ray\Di\Bind::toConstructor cannot be mixed, expecting class-string
'namespace' => CacheNamespace::class,
'clientProvider' => 'memcached',
]);
Expand Down

0 comments on commit 0bf6cc2

Please sign in to comment.