| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | 1 | public function boot(): void |
|
| 17 | { |
||
| 18 | 1 | $this->app->when(IntercomChannel::class) |
|
| 19 | 1 | ->needs(IntercomClient::class) |
|
| 20 | ->give(static function () { |
||
| 21 | /* @var Config $config */ |
||
| 22 | 1 | return new IntercomClient( |
|
| 23 | 1 | Config::get('services.intercom.token', ''), |
|
| 24 | 1 | null |
|
| 25 | ); |
||
| 26 | 1 | }); |
|
| 27 | 1 | } |
|
| 28 | |||
| 39 |