Skip to content

Commit 1659ba3

Browse files
Ensure all properties have a type
1 parent c542e9f commit 1659ba3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Part/AbstractPart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
abstract class AbstractPart
2020
{
21-
private $headers;
21+
private Headers $headers;
2222

2323
public function __construct()
2424
{

Part/TextPart.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class TextPart extends AbstractPart
2828

2929
private static array $encoders = [];
3030

31+
/** @var resource|string|File */
3132
private $body;
3233
private ?string $charset;
3334
private string $subtype;

0 commit comments

Comments
 (0)