We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba59a58 commit eb7c27dCopy full SHA for eb7c27d
1 file changed
lib/SAM3.php
@@ -55,7 +55,7 @@ public function getSessionId():String {
55
return "";
56
}
57
58
- public function connect( bool $sendHello = true ):Void {
+ public function connect( bool $writeHello = true ):Void {
59
if ( isset( $this->samSocket ) && !is_null( $this->samSocket ) ) {
60
throw new SAMException( SAMException::ALREADY_CONNECTED );
61
@@ -72,7 +72,7 @@ public function connect( bool $sendHello = true ):Void {
72
throw new SAMException( SAMException::SOCKET_CONNECT_ERROR );
73
74
75
- if ( $sendHello === true ) {
+ if ( $writeHello === true ) {
76
$this->sendHello();
77
78
0 commit comments