minor fixes in DownloadManager.php

We should use "===" instead of "==" since it's better and faster in this case.
main
Ala Eddine Khefifi 10 years ago
parent 31eadc6920
commit 7cea912d30

@ -202,7 +202,7 @@ class DownloadManager
} }
break; break;
} catch (\RuntimeException $e) { } catch (\RuntimeException $e) {
if ($i == count($sources) - 1) { if ($i === count($sources) - 1) {
throw $e; throw $e;
} }

Loading…
Cancel
Save