1
0
Fork 0

minor fixes in DownloadManager.php

We should use "===" instead of "==" since it's better and faster in this case.
pull/3334/head
Ala Eddine Khefifi 2014-10-08 11:25:00 +01:00
parent 31eadc6920
commit 7cea912d30
1 changed files with 1 additions and 1 deletions

View File

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