| 1 | <?php |
||
| 12 | class ServiceProvider extends BaseServiceProvider |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Suplement the base provider with a different version of the widget factory |
||
| 16 | * |
||
| 17 | * @return nil |
||
|
|
|||
| 18 | */ |
||
| 19 | public function register() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Register two additional blade directives |
||
| 33 | * |
||
| 34 | * @return nil |
||
| 35 | */ |
||
| 36 | public function boot() |
||
| 42 | } |
||
| 43 |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.