| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 39 | 2 | public function createFsOperator(string $adapterName = FilesystemPluginConfigurationInterface::ADAPTER_DEFAULT): FilesystemOperator |
|
| 40 | { |
||
| 41 | 2 | if (FilesystemS3AdapterPluginConfigurationInterface::ADAPTER_NAME !== $this->adapterConfiguration->getAdapterType($adapterName)) { |
|
| 42 | 1 | return $this->filesystemFacade->createFsOperator($adapterName); |
|
| 43 | } |
||
| 44 | |||
| 45 | 1 | return $this->fsFactory->create($adapterName); |
|
| 46 | } |
||
| 48 |