main
Jordi Boggiano 12 years ago
parent edba29be45
commit 71cecd8e93

@ -46,6 +46,7 @@ class DownloadManager
public function setPreferSource($preferSource) public function setPreferSource($preferSource)
{ {
$this->preferSource = $preferSource; $this->preferSource = $preferSource;
return $this; return $this;
} }
@ -59,6 +60,7 @@ class DownloadManager
{ {
$type = strtolower($type); $type = strtolower($type);
$this->downloaders[$type] = $downloader; $this->downloaders[$type] = $downloader;
return $this; return $this;
} }

Loading…
Cancel
Save