| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | public function assign(array $externalData) |
||
| 26 | { |
||
| 27 | $images = []; |
||
| 28 | |||
| 29 | foreach ($externalData as $image) { |
||
| 30 | $images[] = new \Iris\Transfer\Catalog\Image([ |
||
| 31 | 'url' => $image['url'], |
||
| 32 | 'position' => $image['position'] |
||
| 33 | ]); |
||
| 34 | } |
||
| 35 | |||
| 36 | return $imageCollection = new \Iris\Transfer\Catalog\ImageCollection($images); |
||
| 37 | } |
||
| 38 | |||
| 55 |
This check marks private properties in classes that are never used. Those properties can be removed.