Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | protected function getPusherBroadcaster(array $validated): PusherBroadcaster |
||
33 | { |
||
34 | $pusher = new Pusher( |
||
35 | $validated['key'], |
||
36 | $validated['secret'], |
||
37 | $validated['appId'], |
||
38 | config('broadcasting.connections.pusher.options', []) |
||
39 | ); |
||
40 | |||
41 | return new PusherBroadcaster($pusher); |
||
42 | } |
||
43 | } |
||
44 |
This check looks for function calls that miss required arguments.