1 | <?php |
||
24 | class ComposerServiceProvider extends ServiceProvider |
||
25 | { |
||
26 | /** |
||
27 | * Bootstrap any application services. |
||
28 | * |
||
29 | * @param \Illuminate\Bus\Dispatcher $dispatcher |
||
30 | */ |
||
31 | public function boot(Dispatcher $dispatcher) |
||
|
|||
32 | { |
||
33 | // Add export form to project sidebar |
||
34 | 59 | \View::composer('layouts/sidebar/project', function (View $view) { |
|
35 | 36 | $exportForm = new ExportIssues(); |
|
36 | 36 | $exportForm->setup(['project' => $view->project]); |
|
37 | 36 | $view->with('exportForm', $exportForm); |
|
38 | 59 | }); |
|
39 | 59 | } |
|
40 | |||
41 | /** |
||
42 | * Register any application services. |
||
43 | */ |
||
44 | 59 | public function register() |
|
47 | } |
||
48 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.