| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public static function callback(Server $swoole, Process $process) |
||
| 27 | { |
||
| 28 | self::$apollo = Apollo::createFromEnv(); |
||
| 29 | self::$apollo->startWatchNotification(function (array $notifications) use ($swoole) { |
||
|
|
|||
| 30 | self::$apollo->pullAllAndSave(base_path('.env'), false); |
||
| 31 | $swoole->reload(); |
||
| 32 | Coroutine::sleep(3); |
||
| 33 | }); |
||
| 41 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.