Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
},
"require": {
"php": ">=8.0",
"ext-swoole": "*",
"ext-swoole": "6.*",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"utopia-php/framework": "0.33.37"
},
"require-dev": {
"phpunit/phpunit": "^9.3",
"swoole/ide-helper": "5.0.2",
"swoole/ide-helper": "6.0.2",
"laravel/pint": "1.2.*",
"phpstan/phpstan": "^1.10"
},
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Swoole/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ protected function sendHeader(string $key, mixed $values): void
protected function sendCookie(string $name, string $value, array $options): void
{
$this->swoole->cookie(
name: $name,
name_or_object: $name,
value: $value,
expires: $options['expire'] ?? 0,
path: $options['path'] ?? '',
Expand Down
Loading