Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit f7d9d85

Browse files
committed
Supress errors
1 parent 909c0fd commit f7d9d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

socket/src/SecureConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class SecureConnection extends Connection
1313
public function handleData($stream)
1414
{
1515
if (! $this->isSecure) {
16-
$enabled = stream_socket_enable_crypto($stream, true, $this->protocolNumber);
16+
$enabled = @stream_socket_enable_crypto($stream, true, $this->protocolNumber);
1717
if ($enabled === false) {
1818
$this
1919
->err('Failed to complete a secure handshake with the client.')

0 commit comments

Comments
 (0)