1
0
Fork 0
pull/716/head
Jordi Boggiano 2012-05-18 16:12:18 +02:00
parent edba29be45
commit 71cecd8e93
1 changed files with 2 additions and 0 deletions

View File

@ -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;
} }