1 | <?php |
||
21 | class ChainDriver implements DriverInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var ArrayHashMapInterface |
||
25 | */ |
||
26 | protected $drivers; |
||
27 | |||
28 | /** |
||
29 | * The default driver. |
||
30 | * |
||
31 | * @var DriverInterface |
||
32 | */ |
||
33 | protected $defaultDriver; |
||
34 | |||
35 | /** |
||
36 | * ChainDriver constructor. |
||
37 | * |
||
38 | * @param array $drivers |
||
39 | * @param DriverInterface|null $defaultDriver |
||
40 | */ |
||
41 | public function __construct(array $drivers = array(), DriverInterface $defaultDriver = null) |
||
50 | |||
51 | /** |
||
52 | * @param DriverInterface $driver |
||
53 | */ |
||
54 | public function addDriver(DriverInterface $driver) |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function loadMetadataForClass($className) |
||
77 | |||
78 | /** |
||
79 | * {@inheritdoc} |
||
80 | */ |
||
81 | public function getAllClassNames() |
||
94 | } |
||
95 |
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..