|
@@ -17,11 +17,11 @@ |
|
|
block discarded – undo |
|
17
|
17
|
public static function getClass() |
|
18
|
18
|
{ |
|
19
|
19
|
if (false === ($alias = getenv(self::ENV_VAR))) { |
|
20
|
|
- throw new \LogicException('Cannot obtain kernel alias from "' . self::ENV_VAR . '"" ENV variable'); |
|
|
20
|
+ throw new \LogicException('Cannot obtain kernel alias from "'.self::ENV_VAR.'"" ENV variable'); |
|
21
|
21
|
} |
|
22
|
22
|
|
|
23
|
23
|
if (!array_key_exists($alias, self::$map)) { |
|
24
|
|
- throw new \LogicException('Invalid kernel alias: ' . $alias); |
|
|
24
|
+ throw new \LogicException('Invalid kernel alias: '.$alias); |
|
25
|
25
|
} |
|
26
|
26
|
|
|
27
|
27
|
return self::$map[$alias]; |
Please login to merge, or discard this patch.