| Total Complexity | 6 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class Factory |
||
| 16 | { |
||
| 17 | protected Target\Factory $targetFactory; |
||
| 18 | protected Key\Factory $keyFactory; |
||
| 19 | |||
| 20 | 15 | public function __construct(Key\Factory $keyFactory, Target\Factory $targetFactory) |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param object|array<string, string|object>|string|null $storageParams |
||
| 28 | * @throws StorageException |
||
| 29 | * @return Interfaces\IStorage|null |
||
| 30 | */ |
||
| 31 | 14 | public function getStorage($storageParams): ?Interfaces\IStorage |
|
| 60 |