diff --git a/src/Factory/TwigFactory.php b/src/Factory/TwigFactory.php index a5b16ca..7d176b2 100644 --- a/src/Factory/TwigFactory.php +++ b/src/Factory/TwigFactory.php @@ -3,9 +3,9 @@ namespace Plugin\Factory; use Twig\Environment; -use Twig\Loader\FilesystemLoader; -use Twig\Extension\StringLoaderExtension; use Twig\Extension\DebugExtension; +use Twig\Extension\StringLoaderExtension; +use Twig\Loader\FilesystemLoader; class TwigFactory { diff --git a/src/Loader/functions.php b/src/Loader/functions.php index ac2f2db..7e74f28 100644 --- a/src/Loader/functions.php +++ b/src/Loader/functions.php @@ -12,7 +12,7 @@ function loadEnVars(array $map, array $defaults = []) } else { $data = getenv($value); - if ($data === false) { + if (false === $data) { $data = $defaults[$value] ?? null; }