Skip to content

Commit

Permalink
make options optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean O'Brien committed Aug 8, 2023
1 parent 5a0688f commit d8fde5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Configuration/ConfigurationResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public static function ini(
$expectedType,
$profile = null,
$filename = null,
$options
$options = []
){
$filename = $filename ?: (self::getDefaultConfigFilename());
$profile = $profile ?: (getenv(self::ENV_PROFILE) ?: 'default');
Expand Down
2 changes: 1 addition & 1 deletion tests/ConfigurationResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,4 +335,4 @@ public function testResolvesServiceIni()
. '='
);
}
}
}

0 comments on commit d8fde5f

Please sign in to comment.