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

Commit

Permalink
Merge pull request #69 from Spomky-Labs/analysis-qrma9X
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
Spomky committed Dec 29, 2015
2 parents 7722404 + dab70cb commit d7a284d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Factory/CompressionManagerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function createCompressionManager(array $methods)
foreach ($methods as $key => $value) {
if ($value instanceof CompressionInterface) {
$compression_manager->addCompressionAlgorithm($value);
} else if (is_string($value)) {
} elseif (is_string($value)) {
$class = self::getMethodClass($value);
$compression_manager->addCompressionAlgorithm(new $class());
} else {
Expand Down

0 comments on commit d7a284d

Please sign in to comment.