Skip to content

Commit eccd31e

Browse files
Code style fixes
1 parent 0eb1383 commit eccd31e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Printer/Printer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ private function printTagValue(PhpDocTagValueNode $node): string
335335
if (count($node->typeArguments) > 0) {
336336
$printedArgs = [];
337337
foreach ($node->typeArguments as $name => $bound) {
338-
$printedArgs[] = $name . ($bound === null ? '' : (' of ' . $this->printType($bound)));
338+
$printedArgs[] = $name . ($bound === null ? '' : ' of ' . $this->printType($bound));
339339
}
340340
$args = '<' . implode(', ', $printedArgs) . '>';
341341
}

tests/PHPStan/Parser/PhpDocParserTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4488,7 +4488,7 @@ public function provideTypeAliasTagsData(): Iterator
44884488
false,
44894489
'',
44904490
false
4491-
)
4491+
),
44924492
],
44934493
new IdentifierTypeNode('T')
44944494
),
@@ -4515,7 +4515,7 @@ public function provideTypeAliasTagsData(): Iterator
45154515
false,
45164516
'',
45174517
false
4518-
)
4518+
),
45194519
],
45204520
new IdentifierTypeNode('T')
45214521
),

tests/PHPStan/Printer/PrinterTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ public function dataPrintPhpDocNode(): iterable
18281828
false,
18291829
'',
18301830
false
1831-
)
1831+
),
18321832
],
18331833
new IdentifierTypeNode('T')
18341834
),
@@ -1858,7 +1858,7 @@ public function dataPrintPhpDocNode(): iterable
18581858
false,
18591859
'',
18601860
false
1861-
)
1861+
),
18621862
],
18631863
new IdentifierTypeNode('T')
18641864
),

0 commit comments

Comments
 (0)