From bd5d71eb119034620319b927f6dcf89dc242bab6 Mon Sep 17 00:00:00 2001 From: Atsushi Matsuo Date: Fri, 19 Jul 2024 07:08:49 +0900 Subject: [PATCH] Resolve "Result of method File_IMC_Parse::_convertLineEndings() (void) is used" detected by PHPStan --- File/IMC/Parse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/File/IMC/Parse.php b/File/IMC/Parse.php index d65894e..5299d28 100644 --- a/File/IMC/Parse.php +++ b/File/IMC/Parse.php @@ -160,7 +160,7 @@ public function fromText($text, $charset='UTF-8') * * @param string $text The string on which to convert line endings. * - * @return void + * @return string|array */ protected function _convertLineEndings($text) {