Skip to content

Commit 8e12530

Browse files
committed
chore: add ide helper
1 parent 64bf7bb commit 8e12530

3 files changed

Lines changed: 37 additions & 4 deletions

File tree

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@
2828
"utopia-php/validators": "0.2.*"
2929
},
3030
"require-dev": {
31-
"phpunit/phpunit": "9.*",
3231
"laravel/pint": "1.*",
32+
"phpbench/phpbench": "1.*",
3333
"phpstan/phpstan": "1.*",
34-
"phpbench/phpbench": "1.*"
34+
"phpunit/phpunit": "9.*",
35+
"swoole/ide-helper": "^6.0"
3536
},
3637
"config": {
3738
"allow-plugins": {

composer.lock

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

src/Http/Adapter/Swoole/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function end(?string $content = null): void
5858
*/
5959
protected function sendStatus(int $statusCode): void
6060
{
61-
$this->swoole->status((string) $statusCode);
61+
$this->swoole->status($statusCode);
6262
}
6363

6464
/**

0 commit comments

Comments
 (0)