@@ -105,6 +105,9 @@ |
||
| 105 | 105 | return $this->weburgClient; |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | + /** |
|
| 109 | + * @param WeburgClient $weburgClient |
|
| 110 | + */ |
|
| 108 | 111 | public function setWeburgClient($weburgClient) |
| 109 | 112 | { |
| 110 | 113 | $this->weburgClient = $weburgClient; |
@@ -58,6 +58,9 @@ |
||
| 58 | 58 | $this->config = $yaml + $this->config; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | + /** |
|
| 62 | + * @param string $configFile |
|
| 63 | + */ |
|
| 61 | 64 | public function saveConfigFile($configFile = null) |
| 62 | 65 | { |
| 63 | 66 | if (!isset($configFile)) { |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | return 1; |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - $blackTorrentList = array_filter($torrentList, function ($torrent) use ($blacklist) { |
|
| 40 | + $blackTorrentList = array_filter($torrentList, function($torrent) use ($blacklist) { |
|
| 41 | 41 | return in_array($torrent[Torrent\Get::NAME], $blacklist); |
| 42 | 42 | }); |
| 43 | 43 | |