Skip to content

Commit

Permalink
Don't use deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed May 4, 2020
1 parent 5ea01f2 commit a978d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hooks/TestCaseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ private static function getSpecials(ClassMethod $method): array

if ($docblock) {
try {
$parsed_comment = DocComment::parse((string)$docblock->getReformattedText(), $docblock->getLine());
$parsed_comment = DocComment::parse((string)$docblock->getReformattedText(), $docblock->getStartLine());
} catch (DocblockParseException $e) {
return [];
}
Expand Down

0 comments on commit a978d20

Please sign in to comment.