mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-23 19:39:10 -04:00
ALPHA 3.0.2a
This commit is contained in:
12
vendor/psy/psysh/src/Sudo.php
vendored
12
vendor/psy/psysh/src/Sudo.php
vendored
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user