Skip to content

Commit 15ac6ad

Browse files
[7.0] Cleanup legacy code paths
1 parent 4669ff1 commit 15ac6ad

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Response.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,12 +392,11 @@ public function sendContent(): static
392392
*
393393
* @return $this
394394
*/
395-
public function send(/* bool $flush = true */): static
395+
public function send(bool $flush = true): static
396396
{
397397
$this->sendHeaders();
398398
$this->sendContent();
399399

400-
$flush = 1 <= \func_num_args() ? func_get_arg(0) : true;
401400
if (!$flush) {
402401
return $this;
403402
}

UriSigner.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,3 @@ private function buildUrl(array $url, array $params = []): string
105105
return $scheme.$user.$pass.$host.$port.$path.$query.$fragment;
106106
}
107107
}
108-
109-
if (!class_exists(\Symfony\Component\HttpKernel\UriSigner::class, false)) {
110-
class_alias(UriSigner::class, \Symfony\Component\HttpKernel\UriSigner::class);
111-
}

0 commit comments

Comments
 (0)