Fixed CS
parent
1fdb7aef56
commit
bd1d20b2c9
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue