In the default policy compare object ids to avoid recursion.
parent
61ad71b624
commit
0d30bc469b
|
@ -45,7 +45,7 @@ class DefaultPolicy implements PolicyInterface
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($candidate != $package) {
|
if ($candidate !== $package) {
|
||||||
$packages[] = $candidate;
|
$packages[] = $candidate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue