Skip to content

Commit 959ea68

Browse files
authored
Compatible with swoole version 6.0 (#7206)
1 parent 1dd5620 commit 959ea68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ function run($callbacks, int $flags = SWOOLE_HOOK_ALL): bool
7878
/* @phpstan-ignore-next-line */
7979
$result = \Swoole\Coroutine\run(...(array) $callbacks);
8080

81-
Runtime::enableCoroutine(false);
81+
Runtime::enableCoroutine(0);
8282
return $result;
8383
}

0 commit comments

Comments
 (0)