mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
CS fixes
This commit is contained in:
parent
8c16c1bbef
commit
d21032ace5
11 changed files with 2 additions and 13 deletions
|
@ -12,7 +12,6 @@
|
|||
|
||||
namespace Composer\Repository;
|
||||
|
||||
|
||||
/**
|
||||
* Installed array repository.
|
||||
*
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
namespace Composer\Repository;
|
||||
|
||||
|
||||
/**
|
||||
* Installed filesystem repository.
|
||||
*
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
namespace Composer\Repository;
|
||||
|
||||
|
||||
/**
|
||||
* Installable repository interface.
|
||||
*
|
||||
|
|
|
@ -75,7 +75,7 @@ class HgDriver extends VcsDriver
|
|||
*/
|
||||
public function getSource($identifier)
|
||||
{
|
||||
$label = array_search($identifier, (array)$this->tags) ? : $identifier;
|
||||
$label = array_search($identifier, (array) $this->tags) ? : $identifier;
|
||||
|
||||
return array('type' => 'hg', 'url' => $this->getUrl(), 'reference' => $label);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue