| Total Complexity | 5 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 16 | final class RedisStorageAdapter implements StorageAdapterInterface |
||
| 17 | { |
||
| 18 | private RedisConnector $connector; |
||
| 19 | |||
| 20 | private array $settings; |
||
| 21 | |||
| 22 | public function __construct(RedisConnector $connector, array $settings = []) |
||
| 23 | { |
||
| 24 | $this->connector = $connector; |
||
| 25 | $this->settings = $settings; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function read(string $identifier): StorageResultInterface |
||
| 41 | ); |
||
| 42 | } |
||
| 43 | |||
| 44 | public function write(string $identifier, array $data): bool |
||
| 45 | { |
||
| 46 | return $this->connector->getConnection()->hMSet($identifier, $data); |
||
| 47 | } |
||
| 48 | |||
| 49 | public function delete(string $identifier): bool |
||
| 52 | } |
||
| 53 | } |
||
| 54 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.