Skip to content

Commit ec69923

Browse files
committed
Cleanup AlignMultilineParametersFixer comments
1 parent 0f9fc91 commit ec69923

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/FunctionNotation/AlignMultilineParametersFixer.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function isCandidate(Tokens $tokens): bool {
8585

8686
/**
8787
* Must run after StatementIndentationFixer, MethodArgumentSpaceFixer, CompactNullableTypehintFixer,
88-
* SingleSpaceAroundConstructFixer
88+
* SingleSpaceAroundConstructFixer, TypesSpacesFixer
8989
*/
9090
public function getPriority(): int {
9191
return -10;
@@ -197,10 +197,6 @@ protected function applyFix(SplFileInfo $file, Tokens $tokens): void {
197197
}
198198
}
199199

200-
/**
201-
* TODO: The declaration might be split across multiple lines.
202-
* In such case we need to find the longest line and return it as the full type length
203-
*/
204200
private function getFullTypeLength(Tokens $tokens, TypeAnalysis $typeAnalysis): int {
205201
$typeLength = 0;
206202
for ($i = $typeAnalysis->getStartIndex(); $i <= $typeAnalysis->getEndIndex(); $i++) {

0 commit comments

Comments
 (0)