| 1 | <?php |
||
| 7 | class HtmlServiceProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Indicates if loading of the provider is deferred. |
||
| 11 | * |
||
| 12 | * @var bool |
||
| 13 | */ |
||
| 14 | protected $defer = true; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Register the service provider. |
||
| 18 | */ |
||
| 19 | public function register() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Register the HTML builder instance. |
||
| 31 | */ |
||
| 32 | protected function registerHtmlBuilder() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Register the form builder instance. |
||
| 41 | */ |
||
| 42 | protected function registerFormBuilder() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Register the blender builder instance. |
||
| 55 | */ |
||
| 56 | protected function registerBlenderBuilder() |
||
| 60 | } |
||
| 61 |
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.