ALPHA 3.0.2a

This commit is contained in:
TheGamecraft
2018-09-10 08:51:18 -04:00
parent 7fe13ae0a7
commit 0e0ef86b71
1404 changed files with 10604 additions and 33714 deletions

View File

@@ -64,9 +64,9 @@ class Sudo
*/
public static function callMethod($object, $method, $args = null)
{
$args = func_get_args();
$object = array_shift($args);
$method = array_shift($args);
$args = \func_get_args();
$object = \array_shift($args);
$method = \array_shift($args);
$refl = new \ReflectionObject($object);
$reflMethod = $refl->getMethod($method);
@@ -122,9 +122,9 @@ class Sudo
*/
public static function callStatic($class, $method, $args = null)
{
$args = func_get_args();
$class = array_shift($args);
$method = array_shift($args);
$args = \func_get_args();
$class = \array_shift($args);
$method = \array_shift($args);
$refl = new \ReflectionClass($class);
$reflMethod = $refl->getMethod($method);