Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fceb2a2

Browse filesBrowse 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
Copy full SHA for fceb2a2

File tree

Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/VarDumper/Server/Connection.php
-2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.