| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function __construct(FilesystemInterface $filesystem, string $jsonCatalogFilePath) |
||
| 29 | { |
||
| 30 | $contentMapper = new ContentMapper(); |
||
| 31 | $productMapper = new ProductMapper($contentMapper); |
||
| 32 | $catalogMapper = new CatalogMapper($productMapper); |
||
| 33 | |||
| 34 | $this->catalogProvider = new JSONCatalogProvider($filesystem, $jsonCatalogFilePath, $catalogMapper); |
||
| 35 | } |
||
| 36 | |||
| 48 | } |
This check looks for function calls that miss required arguments.