From 752c1ed344b56ab934bd29919888808c6d634e7b Mon Sep 17 00:00:00 2001 From: Quinn Finney Date: Wed, 10 Apr 2024 10:24:09 -0700 Subject: [PATCH] pMaybeMultiline fix --- src/Formatters/NoDatesPropertyOnModels.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Formatters/NoDatesPropertyOnModels.php b/src/Formatters/NoDatesPropertyOnModels.php index a2603ac..25ade15 100644 --- a/src/Formatters/NoDatesPropertyOnModels.php +++ b/src/Formatters/NoDatesPropertyOnModels.php @@ -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; }