|
@@ -893,7 +893,7 @@ |
|
|
block discarded – undo |
|
893
|
893
|
* @param string $url url to download |
|
894
|
894
|
* @param string $file path to file or directory where to save |
|
895
|
895
|
* @param string $defaultName fallback for name of download |
|
896
|
|
- * @return bool|string if failed false, otherwise true or the name of the file in the given dir |
|
|
896
|
+ * @return false|string if failed false, otherwise true or the name of the file in the given dir |
|
897
|
897
|
*/ |
|
898
|
898
|
protected function downloadToFile($url, $file, $defaultName = '') |
|
899
|
899
|
{ |
Please login to merge, or discard this patch.