| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1.125 |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | 3 | public function register() |
|
| 15 | { |
||
| 16 | $this->app->bind(InfobipConfig::class, function () { |
||
| 17 | return new InfobipConfig($this->app['config']['services.infobip']); |
||
| 18 | 3 | }); |
|
| 19 | |||
| 20 | Notification::extend('infobip', function ($app) { |
||
|
|
|||
| 21 | return new InfobipChannel( |
||
| 22 | $this->app->make(Infobip::class), |
||
| 23 | $this->app->make(Dispatcher::class) |
||
| 24 | ); |
||
| 25 | 3 | }); |
|
| 26 | 3 | } |
|
| 27 | } |
||
| 28 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.