We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76defd2 commit 6343055Copy full SHA for 6343055
1 file changed
src/Invoke.php
@@ -14,7 +14,7 @@
14
*
15
* @return mixed
16
*/
17
-function ifCondition(callable $callable, $methodArguments = [], $condition)
+function ifCondition(callable $callable, $methodArguments = [], $condition = false)
18
{
19
if (true === $condition) {
20
return call_user_func_array(
0 commit comments