minor #15198 [HttpFoundation] Remove unused var (Dave Hulbert)
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #15198). Discussion ---------- [HttpFoundation] Remove unused var Minor. Looks like the var `$content` got introduced inaa5e6165
, then in8982c324
the early return meant it wasn't needed. | Q | A | ------------- | --- | Fixed tickets | N/A | License | MIT Commits -------da5218f
Remove var not used due to returning early (introduced in8982c32
)
This commit is contained in:
commit
8a8a929d5c
@ -476,7 +476,6 @@ class Request
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
$content = '';
|
||||
try {
|
||||
$content = $this->getContent();
|
||||
} catch (\LogicException $e) {
|
||||
|
Reference in New Issue
Block a user