| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ApnServiceProvider extends ServiceProvider |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Register any application services. |
||
| 13 | * |
||
| 14 | * @return void |
||
| 15 | */ |
||
| 16 | public function register() |
||
| 17 | { |
||
| 18 | $this->app->bind(Token::class, function ($app) { |
||
| 19 | return Token::create([ |
||
| 20 | 'key_id' => $app['config']['broadcasting.connections.apn.key_id'], |
||
| 21 | 'team_id' => $app['config']['broadcasting.connections.apn.team_id'], |
||
| 35 |