Permalink
Browse files

Fixed some PHP strict standards problems

  • Loading branch information...
1 parent 28f3814 commit e31adda61e6ec5b619db7f5e10d26e1d83ebfa09 @koraktor committed Apr 26, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 lib/steam/servers/GoldSrcServer.php
  2. +1 −1 lib/steam/servers/SourceServer.php
  3. +2 −2 lib/steam/sockets/RCONSocket.php
@@ -43,7 +43,7 @@ class GoldSrcServer extends GameServer {
*
* @return MasterServer The GoldSrc master server
*/
- public function getMaster() {
+ public static function getMaster() {
return new MasterServer(MasterServer::GOLDSRC_MASTER_SERVER);
}
@@ -54,7 +54,7 @@ class SourceServer extends GameServer {
*
* @return MasterServer The Source master server
*/
- public function getMaster() {
+ public static function getMaster() {
return new MasterServer(MasterServer::SOURCE_MASTER_SERVER);
}
@@ -66,9 +66,9 @@ public function close() {
/**
* Sends the given RCON packet to the server
*
- * @param RCONPacket $dataPacket The RCON packet to send to the server
+ * @param SteamPacket $dataPacket The RCON packet to send to the server
*/
- public function send(RCONPacket $dataPacket) {
+ public function send(SteamPacket $dataPacket) {
if(empty($this->socket)) {
$this->socket = new TCPSocket();
$this->socket->connect($this->ipAddress, $this->portNumber);

0 comments on commit e31adda

Please sign in to comment.