1 | <?php |
||
21 | class VaultBootloader extends Bootloader |
||
22 | { |
||
23 | const BOOT = true; |
||
24 | |||
25 | /** |
||
26 | * @var \Spiral\Vault\VaultRoute |
||
27 | */ |
||
28 | private $route; |
||
29 | |||
30 | /** |
||
31 | * @var array |
||
32 | */ |
||
33 | const SINGLETONS = [ |
||
34 | 'vault' => [self::class, 'makeVault'] |
||
35 | ]; |
||
36 | |||
37 | /** |
||
38 | * @param HttpDispatcher $http |
||
39 | * @param VaultConfig $config |
||
40 | */ |
||
41 | public function boot(HttpDispatcher $http, VaultConfig $config) |
||
47 | |||
48 | /** |
||
49 | * @param VaultConfig $config |
||
50 | * @param ContainerInterface $container |
||
51 | * |
||
52 | * @return Vault |
||
53 | */ |
||
54 | protected function makeVault(VaultConfig $config, ContainerInterface $container): Vault |
||
58 | } |
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..