Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Mar 28, 2024
1 parent 618e28e commit a0bf873
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
'single_quote' => true,
'standardize_not_equals' => true,
'multiline_comment_opening_closing' => true,
'single_line_empty_body' => false,
])
->setFinder(
PhpCsFixer\Finder::create()
Expand Down
1 change: 1 addition & 0 deletions src/ClassMap/InteractWithHttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace EasyWeChat\Kernel\Traits;

use Fan\EasyWeChat\HttpClient;
Expand Down
1 change: 1 addition & 0 deletions src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Fan\EasyWeChat;

use EasyWeChat\Kernel\Traits\InteractWithHttpClient;
Expand Down
3 changes: 2 additions & 1 deletion src/HttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Fan\EasyWeChat;

use EasyWeChat\Kernel\HttpClient\RequestUtil;
Expand All @@ -29,7 +30,7 @@ public function request(string $method, string $url, array $options = []): Respo
return $this->client()->request($method, $url, $options);
}

public function stream(iterable|ResponseInterface $responses, float $timeout = null): ResponseStreamInterface
public function stream(iterable|ResponseInterface $responses, ?float $timeout = null): ResponseStreamInterface
{
return $this->client()->stream($responses, $timeout);
}
Expand Down
1 change: 1 addition & 0 deletions tests/Cases/AbstractTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace HyperfTest\Cases;

use PHPUnit\Framework\TestCase;
Expand Down
1 change: 1 addition & 0 deletions tests/Cases/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace HyperfTest\Cases;

/**
Expand Down
1 change: 1 addition & 0 deletions tests/Cases/InteractWithHttpClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace HyperfTest\Cases;

use EasyWeChat\Kernel\Traits\InteractWithHttpClient;
Expand Down

0 comments on commit a0bf873

Please # to comment.