From 4a621c9aee49c1bb2ce7653831e87164738eb62a Mon Sep 17 00:00:00 2001 From: Demin Yin Date: Tue, 26 Dec 2023 23:37:47 -0800 Subject: [PATCH] coding style updates --- examples/bootstrap.php | 8 +------- src/core/Curl/Handler.php | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/examples/bootstrap.php b/examples/bootstrap.php index e9ff061c..c178ff0b 100644 --- a/examples/bootstrap.php +++ b/examples/bootstrap.php @@ -8,11 +8,5 @@ */ declare(strict_types=1); -/** - * This file is part of Swoole. - * - * @see https://www.swoole.com - * @contact team@swoole.com - * @license https://github.com/swoole/library/blob/master/LICENSE - */ + require_once dirname(__DIR__) . '/tests/bootstrap.php'; diff --git a/src/core/Curl/Handler.php b/src/core/Curl/Handler.php index bd1411a3..9cdee5be 100644 --- a/src/core/Curl/Handler.php +++ b/src/core/Curl/Handler.php @@ -357,7 +357,7 @@ private function setHeader(string $headerName, string $value): void } /** - * @throws Swoole\Curl\Exception + * @throws Exception */ private function setOption(int $opt, mixed $value): bool {