| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | abstract class Filesystem implements Contract |
||
| 11 | { |
||
| 12 | use Logger; |
||
|
|
|||
| 13 | |||
| 14 | 14 | public function ensureKeys(string $path): void |
|
| 15 | { |
||
| 16 | 14 | $this->log('Ensure array keys exist for a file', $path); |
|
| 17 | |||
| 18 | 14 | $content = $this->load($path); |
|
| 19 | 14 | ||
| 20 | 14 | $this->store($path, $content); |
|
| 21 | } |
||
| 22 | |||
| 23 | 14 | protected function correctValues(array $items): array |
|
| 35 | } |
||
| 36 | |||
| 37 | protected function doesntExists(string $path): bool |
||
| 42 | } |
||
| 43 | } |
||
| 44 |