Skip to content

Commit

Permalink
Add missing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrov committed Aug 5, 2018
1 parent f97fb9a commit 21fac1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parser/Lexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ private function getExceptionMessage(): string
);
}

private function getIllFormedUtf8ExceptionMessage(string $string)
private function getIllFormedUtf8ExceptionMessage(string $string): string
{
return \sprintf(
"Line %d: Ill-formed UTF-8 sequence" . \str_repeat(" 0x%X", \strlen($string)) . ".",
Expand Down

0 comments on commit 21fac1a

Please sign in to comment.