diff --git a/src/Potter/Environment/Behaviour.php b/src/Potter/Environment/Behaviour.php index 5540b31..242af57 100644 --- a/src/Potter/Environment/Behaviour.php +++ b/src/Potter/Environment/Behaviour.php @@ -11,14 +11,14 @@ trait Behaviour private static function addEnvironment(Container $container): void { $container->addShared(Environment::class, function () { - return Environment::createImmutable(getcwd()); - }); + return Environment::createImmutable(getcwd()); }); } private static function addEnvironmentBehaviour(Container $container): void { static::addEnvironment($container); - self::getEnvironment($container)->required(['APPLICATION_NAME']); + self::getEnvironment($container) + ->required(['APPLICATION_NAME']); } private static function getEnvironment(Container $container): Environment