Skip to content

Commit

Permalink
Make the return-type of ClassReflection::getStartLine() explicit
Browse files Browse the repository at this point in the history
This was removed in laminas#154 but this phpdoc is useful to some static analyzers, so that they can know what the future return-type is going to be.

Signed-off-by: Nicolas Grekas <nicolas.grekas@gmail.com>
  • Loading branch information
nicolas-grekas committed Nov 25, 2022
1 parent eb0cb01 commit 3fe1e32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Reflection/ClassReflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ public function getDocBlock()
/**
* {@inheritDoc}
*
* @param bool $includeDocComment
* @param bool $includeDocComment
* @return int|false
*/
#[ReturnTypeWillChange]
public function getStartLine($includeDocComment = false)
Expand Down

0 comments on commit 3fe1e32

Please sign in to comment.