1
0
Fork 0
pull/208/head
Christophe Coevoet 2012-01-16 22:11:31 +01:00
parent 1fdb7aef56
commit bd1d20b2c9
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class ArrayRepository implements RepositoryInterface
// normalize name
$name = strtolower($name);
return array_filter($this->getPackages(), function(PackageInterface $package) use ($name) {
return array_filter($this->getPackages(), function (PackageInterface $package) use ($name) {
return $package->getName() === $name;
});
}

View File

@ -42,7 +42,7 @@ interface RepositoryInterface extends \Countable
function findPackage($name, $version);
/**
* Searches for packages by it's name .
* Searches for packages by it's name.
*
* @param string $name package name
*