|
@@ -59,7 +59,7 @@ discard block |
|
|
block discarded – undo |
|
59
|
59
|
* @param string $functionName The function to call |
|
60
|
60
|
* @param array $args The arguments for the function |
|
61
|
61
|
* @param string $checkField A field to check if it is set a certain way before calling the function |
|
62
|
|
- * @param mixed $checkValue The value that field should be set to to not call the function |
|
|
62
|
+ * @param boolean $checkValue The value that field should be set to to not call the function |
|
63
|
63
|
* @param callable $resFunction Function to call on the result, otherwise the function will return on the first non-false result |
|
64
|
64
|
* |
|
65
|
65
|
* @return Auth\Group|Auth\User|false The merged returnValue |
|
@@ -91,6 +91,10 @@ discard block |
|
|
block discarded – undo |
|
91
|
91
|
return $ret; |
|
92
|
92
|
} |
|
93
|
93
|
|
|
|
94
|
+ /** |
|
|
95
|
+ * @param string|boolean $methodName |
|
|
96
|
+ * @param string $functionName |
|
|
97
|
+ */ |
|
94
|
98
|
protected function callFunction($methodName, $functionName, $args, $checkField = false, $checkValue = false, $resFunction = null) |
|
95
|
99
|
{ |
|
96
|
100
|
if($methodName === false) |
Please login to merge, or discard this patch.