Merge pull request #4 from clarkstuth/master
removing dead code lines and excess comments. Looks good - @clarkstuthpull/2834/head
commit
a392e9a32c
|
@ -22,7 +22,6 @@ use Composer\Util\Perforce;
|
||||||
class PerforceDownloader extends VcsDownloader
|
class PerforceDownloader extends VcsDownloader
|
||||||
{
|
{
|
||||||
protected $perforce;
|
protected $perforce;
|
||||||
// protected $perforceInjected = false;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
|
|
|
@ -142,12 +142,6 @@ class PerforceDriver extends VcsDriver
|
||||||
$this->composerInfoIdentifier = $identifier;
|
$this->composerInfoIdentifier = $identifier;
|
||||||
$result = false;
|
$result = false;
|
||||||
return !empty($this->composerInfo);
|
return !empty($this->composerInfo);
|
||||||
|
|
||||||
if (!empty($this->composerInfo)) {
|
|
||||||
$result = count($this->composerInfo) > 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue