1
0
Fork 0

Add Dice.php patch

This commit is contained in:
Philipp Holzer 2023-01-16 21:12:47 +01:00
commit d17a21601c
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
3 changed files with 115 additions and 2 deletions

View file

@ -0,0 +1,10 @@
--- /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;
}
}
}