Skip to content

Commit 8773484

Browse files
committed
Improve Parser docblock
1 parent 2fd4dd1 commit 8773484

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/Parser.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
* OuterList::fromHttpValue(), InnerList::fromHttpValue() or Item::fromHttpValue() instead
2626
*
2727
* @phpstan-import-type SfType from StructuredField
28-
* @phpstan-import-type SfItem from StructuredField
29-
* @phpstan-import-type SfItemInput from StructuredField
3028
*/
3129
final class Parser
3230
{

src/StructuredField.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44

55
namespace Bakame\Http\StructuredFields;
66

7-
use DateTimeInterface;
87
use Stringable;
98

109
/**
11-
* @phpstan-type SfType ByteSequence|Token|DateTimeInterface|string|int|float|bool
10+
* @phpstan-type SfType ByteSequence|Token|\DateTimeInterface|string|int|float|bool
1211
* @phpstan-type SfTypeInput StructuredField|SfType
1312
* @phpstan-type SfItem ValueAccess&ParameterAccess
1413
* @phpstan-type SfItemInput SfItem|SfTypeInput

0 commit comments

Comments
 (0)