Skip to content

Commit c054da2

Browse files
stevebaumangithub-actions[bot]
authored andcommitted
Fix code style
1 parent eff902b commit c054da2

File tree

5 files changed

+0
-22
lines changed

5 files changed

+0
-22
lines changed

src/Collections/MessageCollection.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ class MessageCollection extends PaginatedCollection
1212
{
1313
/**
1414
* Find a message by its UID.
15-
*
16-
* @return MessageInterface|null
1715
*/
1816
public function find(int $uid): ?MessageInterface
1917
{
@@ -24,8 +22,6 @@ public function find(int $uid): ?MessageInterface
2422

2523
/**
2624
* Find a message by its UID or throw an exception.
27-
*
28-
* @return MessageInterface
2925
*/
3026
public function findOrFail(int $uid): MessageInterface
3127
{

src/Collections/ResponseCollection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace DirectoryTree\ImapEngine\Collections;
44

55
use DirectoryTree\ImapEngine\Connection\Responses\ContinuationResponse;
6-
use DirectoryTree\ImapEngine\Connection\Responses\Response;
76
use DirectoryTree\ImapEngine\Connection\Responses\TaggedResponse;
87
use DirectoryTree\ImapEngine\Connection\Responses\UntaggedResponse;
98
use Illuminate\Support\Collection;

src/MessageParser.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use ZBateson\MailMimeParser\IMessage;
66
use ZBateson\MailMimeParser\MailMimeParser;
7-
use ZBateson\MailMimeParser\Message as MailMimeMessage;
87

98
class MessageParser
109
{

src/MessageQuery.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ public function count(): int
4343

4444
/**
4545
* Get the first message in the resulting collection.
46-
*
47-
* @return MessageInterface|null
4846
*/
4947
public function first(): ?MessageInterface
5048
{
@@ -57,8 +55,6 @@ public function first(): ?MessageInterface
5755

5856
/**
5957
* Get the first message in the resulting collection or throw an exception.
60-
*
61-
* @return MessageInterface
6258
*/
6359
public function firstOrFail(): MessageInterface
6460
{
@@ -168,8 +164,6 @@ public function paginate(int $perPage = 5, $page = null, string $pageName = 'pag
168164

169165
/**
170166
* Find a message by the given identifier type or throw an exception.
171-
*
172-
* @return MessageInterface
173167
*/
174168
public function findOrFail(int $id, ImapFetchIdentifier $identifier = ImapFetchIdentifier::Uid): MessageInterface
175169
{
@@ -185,8 +179,6 @@ public function findOrFail(int $id, ImapFetchIdentifier $identifier = ImapFetchI
185179

186180
/**
187181
* Find a message by the given identifier type.
188-
*
189-
* @return MessageInterface|null
190182
*/
191183
public function find(int $id, ImapFetchIdentifier $identifier = ImapFetchIdentifier::Uid): ?MessageInterface
192184
{

src/MessageQueryInterface.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,11 @@ public function count(): int;
128128

129129
/**
130130
* Get the first message in the resulting collection.
131-
*
132-
* @return MessageInterface|null
133131
*/
134132
public function first(): ?MessageInterface;
135133

136134
/**
137135
* Get the first message in the resulting collection or throw an exception.
138-
*
139-
* @return MessageInterface
140136
*/
141137
public function firstOrFail(): MessageInterface;
142138

@@ -167,15 +163,11 @@ public function paginate(int $perPage = 5, $page = null, string $pageName = 'pag
167163

168164
/**
169165
* Find a message by the given identifier type or throw an exception.
170-
*
171-
* @return MessageInterface
172166
*/
173167
public function findOrFail(int $id, ImapFetchIdentifier $identifier = ImapFetchIdentifier::Uid): MessageInterface;
174168

175169
/**
176170
* Find a message by the given identifier type.
177-
*
178-
* @return MessageInterface|null
179171
*/
180172
public function find(int $id, ImapFetchIdentifier $identifier = ImapFetchIdentifier::Uid): ?MessageInterface;
181173

0 commit comments

Comments
 (0)