Skip to content

Commit 9dd65ba

Browse files
committed
Style tweak
1 parent 2a2554c commit 9dd65ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Env.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public static function search($expression, $data)
3030
if (!self::$runtime) {
3131
self::$runtime = self::createRuntime();
3232
}
33+
3334
$runtime = self::$runtime;
3435
return $runtime($expression, $data);
3536
}
@@ -42,8 +43,7 @@ public static function search($expression, $data)
4243
*/
4344
public static function createRuntime()
4445
{
45-
$compileDir = getenv(self::COMPILE_DIR);
46-
switch ($compileDir) {
46+
switch ($compileDir = getenv(self::COMPILE_DIR)) {
4747
case false: return new AstRuntime();
4848
case 'on': return new CompilerRuntime();
4949
default: return new CompilerRuntime($compileDir);

0 commit comments

Comments
 (0)