Fix getBinary

This commit is contained in:
Romain Neutron 2012-05-11 00:34:19 +02:00
commit f567f31602
3 changed files with 5 additions and 12 deletions

View file

@ -59,7 +59,7 @@ abstract class Binary implements AdapterInterface
$binary = null;
foreach (static::getBinaryName() as $candidate) {
if (null !== $binary = $finder->find(static::getBinaryName())) {
if (null !== $binary = $finder->find($candidate)) {
break;
}
}