Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Commit

Permalink
Remove debug comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddieajau authored and LouisLandry committed Mar 8, 2012
1 parent b9eb355 commit 39ee45c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/core/reflection/reflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,13 @@ public static function invoke($object, $methodName)
// Remove the method name from the argument list.
array_shift($args);
array_shift($args);
// array_unshift($args, $object);

$method = new ReflectionMethod($object, $methodName);
$method->setAccessible(true);

$result = $method->invokeArgs(is_object($object) ? $object : null, $args);

return $result;

// return call_user_func_array(array($method, 'invoke'), $args);
}

/**
Expand Down

0 comments on commit 39ee45c

Please sign in to comment.