Skip to content

Commit

Permalink
Tokenizer::$eolChar: change default value
Browse files Browse the repository at this point in the history
... to be a more logical one. The property is supposed to be a `string`, so having an array as a default value is confusing.
  • Loading branch information
jrfnl committed Nov 11, 2023
1 parent b0d171b commit 7009f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tokenizers/Tokenizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ abstract class Tokenizer
*
* @var string
*/
protected $eolChar = [];
protected $eolChar = '';

/**
* A token-based representation of the content.
Expand Down

0 comments on commit 7009f61

Please sign in to comment.