Skip to content

Commit

Permalink
Fix Code Style
Browse files Browse the repository at this point in the history
  • Loading branch information
gmessier committed Sep 13, 2023
1 parent ae427fd commit bb364a2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Psalm/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -1481,8 +1481,11 @@ public function setAdvancedErrorLevel(string $issue_key, array $config, ?string
$this->issue_handlers[$issue_key]->setCustomLevels($config, $this->base_dir);
}

public function safeSetAdvancedErrorLevel(string $issue_key, array $config, ?string $default_error_level = null): void
{
public function safeSetAdvancedErrorLevel(
string $issue_key,
array $config,
?string $default_error_level = null
): void {
if (!isset($this->issue_handlers[$issue_key])) {
$this->setAdvancedErrorLevel($issue_key, $config, $default_error_level);
}
Expand Down

0 comments on commit bb364a2

Please sign in to comment.