We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function register() |
||
| 30 | { |
||
| 31 | $this->app->singleton('centrifugo', function ($app) { |
||
| 32 | $config = $app->make('config')->get('broadcasting.connections.centrifugo'); |
||
| 33 | $http = new HttpClient(); |
||
| 34 | |||
| 35 | return new Centrifugo($config, $http); |
||
| 36 | }); |
||
| 37 | |||
| 38 | $this->app->alias('centrifugo', 'denis660\Centrifugo\Centrifugo'); |
||
| 39 | $this->app->alias('centrifugo', 'denis660\Centrifugo\Contracts\Centrifugo'); |
||
| 40 | } |
||
| 41 | } |
||
| 42 |