Skip to content

Commit

Permalink
Merge pull request #5 from ulrichmathes/patch-1
Browse files Browse the repository at this point in the history
[BUGFIX] fix type error for configurationFile param
  • Loading branch information
s2b authored Aug 16, 2021
2 parents e8d574d + bcc6b9f commit e63e7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Classes/Service/ConfigurationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function getFinalConfiguration($configurationPreset, $configurationFile):
$configurationParts = [
$this->getPresetConfiguration('default'),
($configurationPreset !== false) ? $this->getPresetConfiguration($configurationPreset) : [],
($configurationFile !== false)
(is_string($configurationFile))
? $this->getCustomConfiguration($configurationFile)
: $this->getCustomConfiguration('.fclint.json', true)
];
Expand Down

0 comments on commit e63e7c5

Please sign in to comment.