We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e6d322 + 9632073 commit 33c8685Copy full SHA for 33c8685
mta_sdk.php
@@ -211,7 +211,7 @@ class Element
211
{
212
var $id;
213
214
- function Element($id)
+ function __construct($id)
215
216
$this->id = $id;
217
}
@@ -228,7 +228,7 @@ class Resource
228
var $name;
229
private $server;
230
231
- function Resource($name, $server)
+ function __construct($name, $server)
232
233
$this->name = $name;
234
$this->server = $server;
@@ -256,4 +256,4 @@ function call ( $function )
256
return $this->server->callFunction ( $this->name, $function, $val );
257
258
259
-?>
+?>
0 commit comments