1 | <?php |
||
12 | class FortrabbitStorageServiceProvider extends ServiceProvider |
||
13 | { |
||
14 | /** |
||
15 | * Perform post-registration booting of services. |
||
16 | * |
||
17 | * @return void |
||
18 | */ |
||
19 | public function boot() |
||
42 | |||
43 | /** |
||
44 | * Register bindings in the container. |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | public function register() |
||
52 | } |
||
53 |
If a method or function can return multiple different values and unless you are sure that you only can receive a single value in this context, we recommend to add an additional type check:
If this a common case that PHP Analyzer should handle natively, please let us know by opening an issue.