| Total Complexity | 6 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | trait ClusterPoolTrait |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @return bool |
||
| 24 | */ |
||
| 25 | protected function driverCheck(): bool |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return bool |
||
| 32 | */ |
||
| 33 | protected function driverConnect(): bool |
||
| 34 | { |
||
| 35 | return true; |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param CacheItemInterface $item |
||
| 40 | * @return null |
||
| 41 | */ |
||
| 42 | protected function driverRead(CacheItemInterface $item) |
||
|
1 ignored issue
–
show
|
|||
| 43 | { |
||
| 44 | return null; |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param CacheItemInterface $item |
||
| 49 | * @return bool |
||
| 50 | */ |
||
| 51 | protected function driverWrite(CacheItemInterface $item): bool |
||
|
1 ignored issue
–
show
|
|||
| 52 | { |
||
| 53 | return true; |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @param CacheItemInterface $item |
||
| 58 | * @return bool |
||
| 59 | */ |
||
| 60 | protected function driverDelete(CacheItemInterface $item): bool |
||
|
1 ignored issue
–
show
|
|||
| 61 | { |
||
| 62 | return true; |
||
| 63 | } |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return bool |
||
| 67 | */ |
||
| 68 | protected function driverClear(): bool |
||
| 71 | } |
||
| 72 | } |
||
| 73 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.