@@ -9,7 +9,7 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | protected function bindSwooleTask() |
| 11 | 11 | { |
| 12 | - $this->app->singleton('swoole.task', function () { |
|
| 12 | + $this->app->singleton('swoole.task', function() { |
|
| 13 | 13 | return new SwooleTask($this); |
| 14 | 14 | }); |
| 15 | 15 | } |
@@ -5,7 +5,7 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * This is only for `function not exists` in config/swoole_http.php. |
| 7 | 7 | */ |
| 8 | -if (! function_exists('swoole_cpu_num')) { |
|
| 8 | +if (!function_exists('swoole_cpu_num')) { |
|
| 9 | 9 | function swoole_cpu_num() |
| 10 | 10 | { |
| 11 | 11 | return; |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | |
| 16 | -if (! function_exists('swoole_async_task')) { |
|
| 16 | +if (!function_exists('swoole_async_task')) { |
|
| 17 | 17 | /** |
| 18 | 18 | * Swoole Async task helper. |
| 19 | 19 | * |