Skip to content

Commit

Permalink
Fix in EnvConfigurator
Browse files Browse the repository at this point in the history
  • Loading branch information
petr-buchyn committed Dec 13, 2020
1 parent 42e39b3 commit 5f70491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Container/Env/EnvConfigurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct(EnvVarList $vars, EnvFromSourceList $sources, AppInt
$this->app = $app;
}

public function addFrom(string $className, bool $mustExist, string $varNamesPrefix = null): static
public function addFrom(string $className, bool $mustExist = true, string $varNamesPrefix = null): static
{
try {
$class = new \ReflectionClass($className);
Expand Down

0 comments on commit 5f70491

Please sign in to comment.