apply php linter
This commit is contained in:
parent
f53ebebeb2
commit
0c342094b6
|
@ -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
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ function loadEnVars(array $map, array $defaults = [])
|
|||
} else {
|
||||
$data = getenv($value);
|
||||
|
||||
if ($data === false) {
|
||||
if (false === $data) {
|
||||
$data = $defaults[$value] ?? null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue