Skip to content

Commit 609dfb8

Browse files
authored
Format code by the latest cs-fixer. (#6617)
1 parent 32fa4aa commit 609dfb8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+62
-12
lines changed

src/Base/MessageTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\HttpMessage\Base;
1314

1415
use Hyperf\HttpMessage\Stream\SwooleStream;

src/Base/Request.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\HttpMessage\Base;
1314

1415
use Hyperf\HttpMessage\Stream\SwooleStream;
@@ -221,7 +222,7 @@ public function setMethod(string $method): static
221222
return $this;
222223
}
223224

224-
public function setUri(UriInterface|string $uri, ?bool $preserveHost = null): static
225+
public function setUri(string|UriInterface $uri, ?bool $preserveHost = null): static
225226
{
226227
$this->uri = $uri;
227228

src/Base/Response.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\HttpMessage\Base;
1314

1415
use InvalidArgumentException;

src/ConfigProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\HttpMessage;
1314

1415
use Hyperf\HttpMessage\Server\Request\Parser;

src/Cookie/Cookie.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\HttpMessage\Cookie;
1314

1415
use DateTimeInterface;

src/Cookie/CookieJar.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\HttpMessage\Cookie;
1314

1415
use ArrayIterator;

src/Cookie/CookieJarInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\HttpMessage\Cookie;
1314

1415
use Countable;

src/Cookie/FileCookieJar.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\HttpMessage\Cookie;
1314

1415
use Hyperf\Codec\Json;

src/Cookie/SessionCookieJar.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\HttpMessage\Cookie;
1314

1415
use RuntimeException;

src/Cookie/SetCookie.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact group@hyperf.io
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\HttpMessage\Cookie;
1314

1415
use Hyperf\Contract\Arrayable;
@@ -160,8 +161,6 @@ public function getDomain(): ?string
160161

161162
/**
162163
* Set the domain of the cookie.
163-
*
164-
* @param string $domain
165164
*/
166165
public function setDomain(?string $domain)
167166
{

0 commit comments

Comments
 (0)