8000 minor #30003 Remove unreachable code (TysonAndre) · symfony/symfony@fceb2a2 · GitHub
[go: up one dir, main page]

Skip to content

Commit fceb2a2

Browse files
minor #30003 Remove unreachable code (TysonAndre)
This PR was submitted for the 4.2 branch but it was merged into the 4.1 branch instead (closes #30003). Discussion ---------- Remove unreachable code | Q | A | ------------- | --- | Branch? | 4.2 | Bug fix? | (unreachable) | New feature? | no | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no | Tests pass? | n/a (unreachable) <!-- please add some, will be required by reviewers --> | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | The try/finally block will either return or throw. Additionally, $socket was never defined. Detected via static analysis Commits ------- 2fb8f49 Remove unreachable code
2 parents 23e9985 + 2fb8f49 commit fceb2a2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/VarDumper/Server/Connection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,5 @@ private function createSocket()
9191
} finally {
9292
restore_error_handler();
9393
}
94-
95-
return $socket;
9694
}
9795
}

0 commit comments

Comments
 (0)
0