From 16736a656bf3c63643e2432b2f379d46f0453a34 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 14 Jul 2023 09:15:56 +0200 Subject: [PATCH] Tokenizer::$eolChar: change default value ... to be a more logical one. The property is supposed to be a `string`, so having an array as a default value is confusing. --- src/Tokenizers/Tokenizer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tokenizers/Tokenizer.php b/src/Tokenizers/Tokenizer.php index 0e00bf7f22..e2fc63ce81 100644 --- a/src/Tokenizers/Tokenizer.php +++ b/src/Tokenizers/Tokenizer.php @@ -27,7 +27,7 @@ abstract class Tokenizer * * @var string */ - protected $eolChar = []; + protected $eolChar = ''; /** * A token-based representation of the content.