Skip to content

Commit 58c9adb

Browse files
Run php-cs-fixer
1 parent 095536f commit 58c9adb

File tree

5 files changed

+1
-12
lines changed

5 files changed

+1
-12
lines changed

Address.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function getEncodedName(): string
9090
return sprintf('"%s"', preg_replace('/"/u', '\"', $this->getName()));
9191
}
9292

93-
public static function create(Address|string $address): self
93+
public static function create(self|string $address): self
9494
{
9595
if ($address instanceof self) {
9696
return $address;

Header/HeaderInterface.php

-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ public function setBody(mixed $body);
2929
* Gets the body.
3030
*
3131
* The return type depends on the Header concrete class.
32-
*
33-
* @return mixed
3432
*/
3533
public function getBody(): mixed;
3634

Header/UnstructuredHeader.php

-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ public function setBody(mixed $body)
3535
$this->setValue($body);
3636
}
3737

38-
/**
39-
* @return string
40-
*/
4138
public function getBody(): string
4239
{
4340
return $this->getValue();

Part/DataPart.php

-3
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,6 @@ public function __destruct()
129129
}
130130
}
131131

132-
/**
133-
* @return array
134-
*/
135132
public function __sleep(): array
136133
{
137134
// converts the body to a string

Part/TextPart.php

-3
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,6 @@ private function chooseEncoding(): string
184184
return 'quoted-printable';
185185
}
186186

187-
/**
188-
* @return array
189-
*/
190187
public function __sleep(): array
191188
{
192189
// convert resources to strings for serialization

0 commit comments

Comments
 (0)