File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ public function createResponse(Response $symfonyResponse): ResponseInterface
178178
179179 $ headers = $ symfonyResponse ->headers ->all ();
180180 $ cookies = $ symfonyResponse ->headers ->getCookies ();
181- if (! empty ( $ cookies) ) {
181+ if ($ cookies ) {
182182 $ headers ['Set-Cookie ' ] = [];
183183
184184 foreach ($ cookies as $ cookie ) {
Original file line number Diff line number Diff line change @@ -47,13 +47,13 @@ public function getScheme(): string
4747
4848 public function getAuthority (): string
4949 {
50- if (empty ( $ this ->host ) ) {
50+ if (! $ this ->host ) {
5151 return '' ;
5252 }
5353
5454 $ authority = $ this ->host ;
5555
56- if (! empty ( $ this ->userInfo ) ) {
56+ if ($ this ->userInfo ) {
5757 $ authority = $ this ->userInfo .'@ ' .$ authority ;
5858 }
5959
You can’t perform that action at this time.
0 commit comments