| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | function bigbluebutton($serverName = null) |
||
| 27 | { |
||
| 28 | if (is_null($serverName)) { |
||
| 29 | return new Bbb(new Bigbluebutton( |
||
| 30 | config('bigbluebutton.BBB_SERVER_BASE_URL'), |
||
| 31 | config('bigbluebutton.BBB_SECURITY_SALT') |
||
| 32 | )); |
||
| 33 | } |
||
| 34 | |||
| 35 | return (new Bbb(new Bigbluebutton(null, null)))->server($serverName); |
||
| 36 | } |
||
| 37 | } |
||
| 45 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.