Skip to content

Commit 93b5e40

Browse files
Nyholmnicolas-grekas
authored andcommitted
Fixed bugs found by psalm
1 parent f5d0492 commit 93b5e40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Command/LintCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ private function displayJson(OutputInterface $output, array $filesInfo)
226226
return min($errors, 1);
227227
}
228228

229-
private function renderException(OutputInterface $output, string $template, Error $exception, string $file = null)
229+
private function renderException(SymfonyStyle $output, string $template, Error $exception, string $file = null)
230230
{
231231
$line = $exception->getTemplateLine();
232232

Mime/WrappedTemplatedEmail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public function getBcc(): array
182182
*/
183183
public function setPriority(int $priority): self
184184
{
185-
$this->message->setPriority($priority);
185+
$this->message->priority($priority);
186186

187187
return $this;
188188
}

0 commit comments

Comments
 (0)