Skip to content

Commit 75772d4

Browse files
committed
Make psalm happy by ensuring array keys are strings
1 parent 66728d3 commit 75772d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridge/MessDetectorRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function renderReport(Report $report): void
6969
}
7070

7171
$this->output->writeln([
72-
sprintf('<fg=white;options=bold>FILE: %s</>', str_replace($this->basePath . '/', '', $file)),
72+
sprintf('<fg=white;options=bold>FILE: %s</>', str_replace($this->basePath . '/', '', (string) $file)),
7373
sprintf('<fg=white;options=bold>FOUND %d ERRORS AND %d VIOLATIONS</>', $errorCount, $violationCount),
7474
]);
7575
$table->render();

0 commit comments

Comments
 (0)