Add Dice.php patch

This commit is contained in:
Philipp 2023-01-16 21:12:47 +01:00
parent 3749892f59
commit d17a21601c
No known key found for this signature in database
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;
}
}
}