11 lines
268 B
Diff
11 lines
268 B
Diff
--- /dev/null
|
|
+++ ../Dice.php
|
|
@@ -257,6 +257,7 @@
|
|
for ($i = 0; $i < count($args); $i++) {
|
|
if (call_user_func('is_' . $param->getType()->getName(), $args[$i])) {
|
|
$parameters[] = array_splice($args, $i, 1)[0];
|
|
+ break;
|
|
}
|
|
}
|
|
}
|