Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1.0013 |
Changes | 0 |
1 | <?php |
||
28 | 83 | public function boot(): void |
|
29 | { |
||
30 | /** @var ChannelManager $manager */ |
||
31 | 83 | $manager = $this->app[Manager::class]; |
|
32 | |||
33 | 83 | $manager->register( |
|
34 | 83 | collect($this->channels()) |
|
35 | 83 | ->mapWithKeys(function (array $parameters, string $name) { |
|
36 | return [$name => $parameters]; |
||
37 | 83 | }) |
|
38 | 83 | ->toArray() |
|
39 | ); |
||
40 | 83 | } |
|
41 | |||
61 |