From 21fac1a85ebc766cddd58ed5d9a84c4aceee94f2 Mon Sep 17 00:00:00 2001 From: Paul Crovella Date: Sat, 4 Aug 2018 20:21:29 -0700 Subject: [PATCH] Add missing return type --- src/Parser/Lexer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parser/Lexer.php b/src/Parser/Lexer.php index 2af0295..bf0fa40 100644 --- a/src/Parser/Lexer.php +++ b/src/Parser/Lexer.php @@ -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)) . ".",