Skip to content

Commit

Permalink
修复 RequestContext::exists()
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Jan 9, 2024
1 parent 9fb44f3 commit e64eceb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function exists(string $flag): bool
{
if ($flag > -1)
{
return Coroutine::exists($flag);
return Coroutine::exists((int) $flag);

Check warning on line 122 in src/Components/swoole/src/Context/CoroutineContextManager.php

View check run for this annotation

Codecov / codecov/patch

src/Components/swoole/src/Context/CoroutineContextManager.php#L122

Added line #L122 was not covered by tests
}
else
{
Expand Down

0 comments on commit e64eceb

Please sign in to comment.