Skip to content

Commit eb7c27d

Browse files
authored
Update SAM3.php
1 parent ba59a58 commit eb7c27d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/SAM3.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getSessionId():String {
5555
return "";
5656
}
5757

58-
public function connect( bool $sendHello = true ):Void {
58+
public function connect( bool $writeHello = true ):Void {
5959
if ( isset( $this->samSocket ) && !is_null( $this->samSocket ) ) {
6060
throw new SAMException( SAMException::ALREADY_CONNECTED );
6161
}
@@ -72,7 +72,7 @@ public function connect( bool $sendHello = true ):Void {
7272
throw new SAMException( SAMException::SOCKET_CONNECT_ERROR );
7373
}
7474

75-
if ( $sendHello === true ) {
75+
if ( $writeHello === true ) {
7676
$this->sendHello();
7777
}
7878
}

0 commit comments

Comments
 (0)