Remove unreachable code

The try/finally block will either return or throw.
Additionally, $socket was never defined.

Detected via static analysis
This commit is contained in:
Tyson Andre 2019-01-27 17:46:00 -05:00 committed by Nicolas Grekas
parent 23e9985ee0
commit 2fb8f49146

View File

@ -91,7 +91,5 @@ class Connection
} finally {
restore_error_handler();
}
return $socket;
}
}