From 24137d64e156bfc0e085413686c54fd61898b160 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sun, 18 Oct 2015 22:07:52 +0300 Subject: [PATCH] Failed spelling --- SourceQuery/Exception/SocketException.php | 2 +- SourceQuery/SourceRcon.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SourceQuery/Exception/SocketException.php b/SourceQuery/Exception/SocketException.php index eb05aec..94a20ca 100644 --- a/SourceQuery/Exception/SocketException.php +++ b/SourceQuery/Exception/SocketException.php @@ -16,5 +16,5 @@ { const COULD_NOT_CREATE_SOCKET = 1; const NOT_CONNECTED = 2; - const CONNECTEON_FALED = 3; + const CONNECTION_FAILED = 3; } diff --git a/SourceQuery/SourceRcon.php b/SourceQuery/SourceRcon.php index a8d3ecb..bd87afc 100644 --- a/SourceQuery/SourceRcon.php +++ b/SourceQuery/SourceRcon.php @@ -70,7 +70,7 @@ if( $ErrNo || !$this->RconSocket ) { - throw new SocketException( 'Can\'t connect to RCON server: ' . $ErrStr, SocketException::CONNECTEON_FALED ); + throw new SocketException( 'Can\'t connect to RCON server: ' . $ErrStr, SocketException::CONNECTION_FAILED ); } Stream_Set_Timeout( $this->RconSocket, $this->Socket->Timeout );