Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Commit c5ce710

Browse files
authored
Merge pull request #34 from utopia-php/feat-v6
2 parents 95a937a + e99866f commit c5ce710

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
"check": "./vendor/bin/phpstan analyse --level 6 src tests --memory-limit 512M"
1414
},
1515
"require": {
16-
"php": ">=8.0",
17-
"ext-swoole": "*",
16+
"php": ">=8.1",
17+
"ext-swoole": "6.*",
1818
"utopia-php/framework": "0.33.37"
1919
},
2020
"require-dev": {
2121
"phpunit/phpunit": "^9.3",
22-
"swoole/ide-helper": "5.0.2",
22+
"swoole/ide-helper": "6.0.2",
2323
"laravel/pint": "1.2.*",
2424
"phpstan/phpstan": "^1.10"
2525
},

composer.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Swoole/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ protected function sendHeader(string $key, mixed $values): void
245245
protected function sendCookie(string $name, string $value, array $options): void
246246
{
247247
$this->swoole->cookie(
248-
name: $name,
248+
$name,
249249
value: $value,
250250
expires: $options['expire'] ?? 0,
251251
path: $options['path'] ?? '',

0 commit comments

Comments
 (0)