| 1 | <?php namespace Limoncello\Core\Config; |
||
| 24 | class ArrayConfig implements ConfigInterface |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @var string[]|null |
||
| 28 | */ |
||
| 29 | private $interfaces = null; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var array |
||
| 33 | */ |
||
| 34 | private $configs; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param array $configs |
||
| 38 | */ |
||
| 39 | 1 | public function __construct(array $configs) |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @inheritdoc |
||
| 46 | */ |
||
| 47 | 1 | public function getConfigInterfaces() |
|
| 55 | |||
| 56 | /** |
||
| 57 | * @inheritdoc |
||
| 58 | */ |
||
| 59 | 1 | public function getConfig($interfaceClass) |
|
| 65 | } |
||
| 66 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..