8000 Remove unreachable code · symfony/symfony@2fb8f49 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2fb8f49

Browse files
TysonAndrenicolas-grekas
authored andcommitted
Remove unreachable code
The try/finally block will either return or throw. Additionally, $socket was never defined. Detected via static analysis
1 parent 23e9985 commit 2fb8f49

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