Skip to content

Commit 278bf21

Browse files
author
eAi
committed
Rename mta(..) to __construct(..)
1 parent 3d93174 commit 278bf21

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mta_sdk.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
* MTA PHP SDK
55
************************************
66
*
7-
* @copyright Copyright (C) 2007, Multi Theft Auto
8-
* @author JackC, eAi
7+
* @copyright Copyright (C) 2010, Multi Theft Auto
8+
* @author JackC, eAi, Sebas
99
* @link http://www.mtasa.com
10-
* @version 0.3
10+
* @version 0.4
1111
*/
1212

1313
class mta
@@ -23,7 +23,7 @@ class mta
2323

2424
private $resources = array();
2525

26-
public function mta( $host, $port, $username = "", $pass = "" )
26+
public function __construct( $host, $port, $username = "", $pass = "" )
2727
{
2828
$this->host = $host;
2929
$this->port = $port;

0 commit comments

Comments
 (0)