Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/MemoryManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,13 @@ public function __construct(CacheStorage $cache = null)
switch (strtolower($memoryLimitStr[strlen($memoryLimitStr)-1])) {
case 'g':
$this->memoryLimit *= 1024;
// Break intentionally omitted
// no break
case 'm':
$this->memoryLimit *= 1024;
// Break intentionally omitted
// no break
case 'k':
$this->memoryLimit *= 1024;
break;

default:
break;
}
Expand Down

0 comments on commit a33ceb1

Please sign in to comment.