Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-03-31 23:35:07 +00:00 committed by StyleCI Bot
parent bec41ebd61
commit 564009cda9

View File

@ -284,7 +284,7 @@ trait Files
$res['bytes'] = $ige->decrypt($res['bytes']);
}
if ($end !== -1 && strlen($res['bytes']) + $downloaded_size >= $size) {
$res['bytes'] = substr($res['bytes'], 0, $size-$downloaded_size);
$res['bytes'] = substr($res['bytes'], 0, $size - $downloaded_size);
$theend = true;
}
$offset += strlen($res['bytes']);
@ -300,6 +300,7 @@ trait Files
if ($end === -1) {
$cb(100);
}
return true;
}
}