Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e2da804

Browse files
committed
Apply fabbot patch
1 parent 24f5df6 commit e2da804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mime/Crypto/DkimSigner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ private function hashBody(AbstractPart $body, string $bodyCanon, int $maxLength)
205205
}
206206

207207
// Add trailing Line return if last line is non empty
208-
if (\strlen($currentLine) > 0) {
208+
if ('' !== $currentLine) {
209209
hash_update($hash, "\r\n");
210210
$length += \strlen("\r\n");
211211
}

0 commit comments

Comments
 (0)