1
0
Fork 0

PHP 5.3 compatible function invokation

pull/3994/head
Nils Adermann 2015-05-05 20:24:04 +02:00
parent ec5416f03c
commit aa7d145dd0
1 changed files with 3 additions and 1 deletions

View File

@ -181,7 +181,9 @@ class ComposerRepository extends ArrayRepository
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;
}