Skip to content

Commit

Permalink
pMaybeMultiline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qrcf committed Apr 10, 2024
1 parent 967a15b commit 752c1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Formatters/NoDatesPropertyOnModels.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private function printer(): Standard
return new class extends Standard
{
// Force all arrays to be printed in multiline style
protected function pMaybeMultiline(array $nodes, bool $trailingComma = true)
protected function pMaybeMultiline(array $nodes, bool $trailingComma = true): string
{
return $this->pCommaSeparatedMultiline($nodes, $trailingComma) . $this->nl;
}
Expand Down

0 comments on commit 752c1ed

Please sign in to comment.