Skip to content

Commit d44ec6f

Browse files
author
Kirill Nesmeyanov
committed
Apply PER-2
1 parent 09c62e1 commit d44ec6f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/NativeTypePrinter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class NativeTypePrinter extends PrettyPrinter
104104
public function __construct(
105105
array $aliases = [],
106106
string $newLine = self::DEFAULT_NEW_LINE_DELIMITER,
107-
string $indention = self::DEFAULT_INDENTION
107+
string $indention = self::DEFAULT_INDENTION,
108108
) {
109109
parent::__construct($newLine, $indention);
110110

@@ -210,7 +210,7 @@ protected function printUnionTypeNode(UnionTypeNode $node): string
210210
try {
211211
/** @var non-empty-string */
212212
return \vsprintf($this->nesting > 0 ? '(%s)' : '%s', [
213-
\implode('|', [...$this->unwrapAndPrint($node)])
213+
\implode('|', [...$this->unwrapAndPrint($node)]),
214214
]);
215215
} finally {
216216
++$this->nesting;
@@ -223,7 +223,7 @@ protected function printIntersectionTypeNode(IntersectionTypeNode $node): string
223223
try {
224224
/** @var non-empty-string */
225225
return \vsprintf($this->nesting > 0 ? '(%s)' : '%s', [
226-
\implode('&', [...$this->unwrapAndPrint($node)])
226+
\implode('&', [...$this->unwrapAndPrint($node)]),
227227
]);
228228
} finally {
229229
++$this->nesting;

0 commit comments

Comments
 (0)