summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/sockets/sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c
index 37caf6026a..52ddd50d87 100644
--- a/ext/sockets/sockets.c
+++ b/ext/sockets/sockets.c
@@ -1938,7 +1938,7 @@ PHP_FUNCTION(socket_last_error)
}
/* }}} */
-/* {{{ proto void socket_clear_error(resource socket)
+/* {{{ proto void socket_clear_error([resource socket])
Clears the error on the socket or the last error code. */
PHP_FUNCTION(socket_clear_error)
{