Skip to content

Commit db9f30f

Browse files
committed
Update laminas/laminas-mime up to 2.10.0
In order for the change to take effect, it is necessary to update the `laminas/laminas-mime` library. Signed-off-by: danielabyan <danielabyan@gmail.com>
1 parent 08f57ba commit db9f30f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"php": "~8.0.0 || ~8.1.0",
1212
"ext-iconv": "*",
1313
"laminas/laminas-loader": "^2.8.0",
14-
"laminas/laminas-mime": "^2.9.1",
14+
"laminas/laminas-mime": "^2.10.0",
1515
"laminas/laminas-stdlib": "^3.11.0",
1616
"laminas/laminas-validator": "^2.23.0",
1717
"symfony/polyfill-mbstring": "^1.16.0",

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Header/HeaderWrap.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@ protected static function wrapStructuredHeader($value, StructuredInterface $head
102102
* Performs quoted-printable encoding on a value, setting maximum
103103
* line-length to 998.
104104
*
105-
* @param string $value
106-
* @param string $encoding
107-
* @param int $lineLength maximum line-length, by default 998
108-
* @param int $firstLineGapSize When folding a line, it is necessary to calculate
109-
* the length of the entire line (together with the header name).
110-
* Therefore, you can specify the header name and colon length
111-
* in this argument to fold the string properly.
112-
*
105+
* @param string $value
106+
* @param string $encoding
107+
* @param int $lineLength Maximum line-length, by default 998
108+
* @param positive-int|0 $firstLineGapSize When folding a line, it is necessary to calculate
109+
* the length of the entire line (together with the
110+
* header name). Therefore, you can specify the header
111+
* name and colon length in this argument to fold the
112+
* string properly.
113113
* @return string Returns the mime encode value without the last line ending
114114
*/
115115
public static function mimeEncodeValue($value, $encoding, $lineLength = 998, $firstLineGapSize = 0)

0 commit comments

Comments
 (0)