| Total Complexity | 5 | 
| Total Lines | 28 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 19 | final class ImportSchemeCollectionProvider implements ProviderInterface | ||
| 20 | { | ||
| 21 | /** @param ImportApp[] $importAppConfig */ | ||
| 22 |     #[Named('importAppConfig=BEAR\Resource\Annotation\ImportAppConfig,schemeCollection=original')] | ||
| 23 | public function __construct( | ||
| 24 | #[Named(ImportAppConfig::class)] | ||
| 25 | private array $importAppConfig, | ||
| 26 |         #[Named('original')] | ||
| 27 | private SchemeCollectionInterface $schemeCollection, | ||
| 28 |     ) { | ||
| 29 | } | ||
| 30 | |||
| 31 | /** | ||
| 32 |      * {@inheritDoc} | ||
| 33 | */ | ||
| 34 | #[Override] | ||
| 47 | } | ||
| 48 | } | ||
| 49 | 
In the issue above, the returned value is violating the contract defined by the mentioned interface.
Let's take a look at an example: