From 1375f8e60a93ad08e62919222345a09c65930135 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 25 Feb 2016 11:50:43 +0000 Subject: [PATCH] Remove setter/getter that isnt needed, refs #4933 --- src/Composer/Repository/PathRepository.php | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/Composer/Repository/PathRepository.php b/src/Composer/Repository/PathRepository.php index 8e230d3b0..60c90ff74 100644 --- a/src/Composer/Repository/PathRepository.php +++ b/src/Composer/Repository/PathRepository.php @@ -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; - } }