Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor committed Feb 23, 2022
1 parent 97cd1cb commit 98b6c0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Tokenizer/Analyzer/CommentsAnalyzer.php
Expand Up @@ -113,6 +113,7 @@ public function isBeforeStructuralElement(Tokens $tokens, int $index): bool
* Return array of indices that are part of a comment started at given index.
*
* @param int $index T_COMMENT index
*
* @return list<int>
*/
public function getCommentBlockIndices(Tokens $tokens, int $index): array
Expand Down
2 changes: 1 addition & 1 deletion tests/Tokenizer/TokensTest.php
Expand Up @@ -743,7 +743,7 @@ public function testFindBlockEndInvalidType(): void
$this->expectException(\InvalidArgumentException::class);
$this->expectExceptionMessageMatches('/^Invalid param type: "-1"\.$/');

/** @phpstan-ignore-next-line */
// @phpstan-ignore-next-line
$tokens->findBlockEnd(-1, 0);
}

Expand Down

0 comments on commit 98b6c0a

Please sign in to comment.