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:
parent
23e9985ee0
commit
2fb8f49146
@ -91,7 +91,5 @@ class Connection
|
|||||||
} finally {
|
} finally {
|
||||||
restore_error_handler();
|
restore_error_handler();
|
||||||
}
|
}
|
||||||
|
|
||||||
return $socket;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user