| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function boot() |
||
| 14 | { |
||
| 15 | $this->app->when(HipChatChannel::class) |
||
| 16 | ->needs(HipChat::class) |
||
| 17 | ->give(function () { |
||
| 18 | return new HipChat( |
||
| 19 | new HttpClient, |
||
| 20 | config('services.hipchat.url'), |
||
| 21 | config('services.hipchat.token'), |
||
| 22 | config('services.hipchat.room') |
||
| 23 | ); |
||
| 24 | }); |
||
| 25 | } |
||
| 26 | } |
||
| 27 |