Skip to content

Commit 39c234c

Browse files
authored
Fix example CS in AddReturnDocblockFromMethodCallDocblockRector (#7947)
There were some unwanted whitespace problems, and a stray `}`.
1 parent 930e7f5 commit 39c234c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rules/TypeDeclarationDocblocks/Rector/ClassMethod/AddReturnDocblockFromMethodCallDocblockRector.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,14 @@ public function findAll(): array
6161
// ...
6262
}
6363
}
64-
}
6564
CODE_SAMPLE
6665
,
6766
<<<'CODE_SAMPLE'
6867
final class SomeController
6968
{
7069
/**
71-
* @return SomeEntity[]
72-
*/
70+
* @return SomeEntity[]
71+
*/
7372
public function getAll(): array
7473
{
7574
return $this->repository->findAll();

0 commit comments

Comments
 (0)