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

Commit

Permalink
Bug fied
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent Morselli committed Jul 22, 2016
1 parent 14ead0e commit 5b00987
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 @@ -27,7 +27,7 @@ public static function createCompressionManager(array $methods)
$compression_manager = new CompressionManager();

foreach ($methods as $method) {
if ($methods instanceof CompressionInterface) {
if ($method instanceof CompressionInterface) {
$compression_manager->addCompressionAlgorithm($method);
} else {
Assertion::string($method, 'Bad argument: must be a list with either method names (string) or instances of CompressionInterface.');
Expand Down

0 comments on commit 5b00987

Please sign in to comment.