|
@@ -11,9 +11,9 @@ |
|
|
block discarded – undo |
|
11
|
11
|
/** |
|
12
|
12
|
* Call a protected method on an object via reflection |
|
13
|
13
|
* |
|
14
|
|
- * @param object $object The object to call the method on |
|
|
14
|
+ * @param CampaignAdmin $object The object to call the method on |
|
15
|
15
|
* @param string $method The name of the method |
|
16
|
|
- * @param array $args The arguments to pass to the method |
|
|
16
|
+ * @param CampaignAdminTest_InvalidChangeSet[] $args The arguments to pass to the method |
|
17
|
17
|
*/ |
|
18
|
18
|
function callProtectedMethod($object, $method, $args = []) { |
|
19
|
19
|
$class = new ReflectionClass(get_class($object)); |
Please login to merge, or discard this patch.