1
0
Fork 0

Remove setter/getter that isnt needed, refs #4933

pull/4962/head
Jordi Boggiano 2016-02-25 11:50:43 +00:00
parent 4df7ade801
commit 1375f8e60a
1 changed files with 1 additions and 17 deletions

View File

@ -139,7 +139,7 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn
'url' => $url,
'reference' => sha1($json),
);
$package['transport-options'] = $this->getOptions();
$package['transport-options'] = $this->options;
if (!isset($package['version'])) {
$package['version'] = $this->versionGuesser->guessVersion($package, $path) ?: 'dev-master';
@ -166,20 +166,4 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn
return str_replace(DIRECTORY_SEPARATOR, '/', $val);
}, glob($this->url, GLOB_MARK | GLOB_ONLYDIR));
}
/**
* @return array
*/
public function getOptions()
{
return $this->options;
}
/**
* @param array $options
*/
public function setOptions($options)
{
$this->options = $options;
}
}