We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b58c73 + 07e0671 commit 4652163Copy full SHA for 4652163
Header/AbstractHeader.php
@@ -164,14 +164,14 @@ protected function getEncodableWordTokens(string $string): array
164
if ($this->tokenNeedsEncoding($token)) {
165
$encodedToken .= $token;
166
} else {
167
- if (\strlen($encodedToken) > 0) {
+ if ('' !== $encodedToken) {
168
$tokens[] = $encodedToken;
169
$encodedToken = '';
170
}
171
$tokens[] = $token;
172
173
174
- if (\strlen($encodedToken)) {
175
176
177
0 commit comments