|
@@ -29,7 +29,7 @@ |
|
|
block discarded – undo |
|
29
|
29
|
public static function getStrategy(Environment $environment, array $assetsCollection, string $type, string $namespace = Assets::NAMESPACE_COMMON): StrategyInterface |
|
30
|
30
|
{ |
|
31
|
31
|
$strategy = $environment->getStrategy(); |
|
32
|
|
- if(!isset(self::STRATEGY[$strategy])){ |
|
|
32
|
+ if (!isset(self::STRATEGY[$strategy])) { |
|
33
|
33
|
throw new \Exception('Invalid strategy'); |
|
34
|
34
|
} |
|
35
|
35
|
$strategyClass = self::STRATEGY[$strategy]; |
Please login to merge, or discard this patch.