socket_clear_error($this->getSocketResource());
// Call the shutdown function on the currently set socket
- if (!@socket_shutdown($this->getSocketResource())) {
+ if (!socket_shutdown($this->getSocketResource())) {
// Could not shutdown socket, this is fine if e.g. the other side is not connected, so analyse it
if (socket_last_error($this->getSocketResource()) != 107) {
// Something bad happened while we shutdown a socket