PHP 5.3 compatible function invokation
parent
ec5416f03c
commit
aa7d145dd0
|
@ -181,7 +181,9 @@ class ComposerRepository extends ArrayRepository
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($acceptableCallback && !$acceptableCallback(strtolower($version['name']), VersionParser::parseStability($version['version']))) {
|
if ($acceptableCallback && !call_user_func(
|
||||||
|
$acceptableCallback, strtolower($version['name']), VersionParser::parseStability($version['version'])
|
||||||
|
)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue