Merge pull request #18148 from kamil-tekiela/fix-bug-in-Advisor
Fix type bug in Advisor
This commit is contained in:
commit
ac58c08e15
@ -102,7 +102,7 @@ class Advisor
|
||||
'fired',
|
||||
static function (): void {
|
||||
},
|
||||
function (array $arguments, int $value) {
|
||||
function (array $arguments, int|string $value) {
|
||||
// Did matching rule fire?
|
||||
foreach ($this->runResult['fired'] as $rule) {
|
||||
if ($rule['id'] == $value) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user