| Conditions | 2 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function register() |
||
| 21 | { |
||
| 22 | $this->app['router']->aliasMiddleware('checkr_webhook', Webhook::class); |
||
| 23 | |||
| 24 | $this->app->bind('lyal.checkr', function () { |
||
| 25 | $key = App::environment('production') ? config('checkr.production_key') : config('checkr.testing_key'); |
||
| 26 | |||
| 27 | return new Client($key, config('checkr.options', [])); |
||
| 28 | }); |
||
| 41 |