Skip to content

Commit 88f67b0

Browse files
authored
[CLEANUP] Rector: Change return type based on strict returns type operations (#587)
This applies the rule BoolReturnTypeFromStrictScalarReturnsRector. For Details see: https://github.com/rectorphp/rector/blob/main/docs/rector_rules_overview.md#boolreturntypefromstrictscalarreturnsrector Signed-off-by: Daniel Ziegenberg <[email protected]>
1 parent e1e30b5 commit 88f67b0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Parsing/ParserState.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -361,10 +361,7 @@ public function consumeComment()
361361
return $mComment;
362362
}
363363

364-
/**
365-
* @return bool
366-
*/
367-
public function isEnd()
364+
public function isEnd(): bool
368365
{
369366
return $this->iCurrentPosition >= $this->iLength;
370367
}

0 commit comments

Comments
 (0)