We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dd5620 commit 959ea68Copy full SHA for 959ea68
src/Functions.php
@@ -78,6 +78,6 @@ function run($callbacks, int $flags = SWOOLE_HOOK_ALL): bool
78
/* @phpstan-ignore-next-line */
79
$result = \Swoole\Coroutine\run(...(array) $callbacks);
80
81
- Runtime::enableCoroutine(false);
+ Runtime::enableCoroutine(0);
82
return $result;
83
}
0 commit comments