Skip to content

Commit

Permalink
php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
PHLAK committed Mar 20, 2020
1 parent f3115ea commit 8f45a5c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ public static function validateOption($option)
$constants = $reflection->getConstants();

if (! in_array($option, $constants, true)) {
throw new ConfigException(
"Invalid configuration option '{$option}'. Must be one of: " . implode(', ', $constants)
);
throw new ConfigException("Invalid configuration option '{$option}'. Must be one of: " . implode(', ', $constants));
}
}
}

0 comments on commit 8f45a5c

Please sign in to comment.