From 2fb8f49146ad5f6383b898c2fad03fe1235810ce Mon Sep 17 00:00:00 2001 From: Tyson Andre Date: Sun, 27 Jan 2019 17:46:00 -0500 Subject: [PATCH] Remove unreachable code The try/finally block will either return or throw. Additionally, $socket was never defined. Detected via static analysis --- src/Symfony/Component/VarDumper/Server/Connection.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Symfony/Component/VarDumper/Server/Connection.php b/src/Symfony/Component/VarDumper/Server/Connection.php index 853bf00c22..8b814cb61c 100644 --- a/src/Symfony/Component/VarDumper/Server/Connection.php +++ b/src/Symfony/Component/VarDumper/Server/Connection.php @@ -91,7 +91,5 @@ class Connection } finally { restore_error_handler(); } - - return $socket; } }