Skip to content

Commit cadd16a

Browse files
committed
Apply phpcs
1 parent c94e9e7 commit cadd16a

22 files changed

+41
-16
lines changed

src/DocBlock/Description/TaggedDescription.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public function __construct(iterable $components = [])
3737

3838
/**
3939
* @param iterable<mixed, object> $components
40+
*
4041
* @return list<TagInterface>
4142
*/
4243
private function getTagsFromComponents(iterable $components): array

src/DocBlock/Description/TaggedDescriptionInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ interface TaggedDescriptionInterface extends
2727
* elements are defined.
2828
*
2929
* @var DescriptionInterface
30+
*
3031
* @readonly
3132
*/
3233
public iterable $components { get; }

src/DocBlock/DocBlock.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public function offsetGet(mixed $offset): ?TagInterface
6666

6767
/**
6868
* @internal direct usage of {@see offsetSet()} is not recommended
69+
*
6970
* @throws \BadMethodCallException
7071
*/
7172
public function offsetSet(mixed $offset, mixed $value): void
@@ -75,6 +76,7 @@ public function offsetSet(mixed $offset, mixed $value): void
7576

7677
/**
7778
* @internal direct usage of {@see offsetUnset()} is not recommended
79+
*
7880
* @throws \BadMethodCallException
7981
*/
8082
public function offsetUnset(mixed $offset): void

src/DocBlock/Polyfill/Description/TaggedDescriptionInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
/**
1212
* @internal polyfill interface for the {@see \TypeLang\PHPDoc\DocBlock\Description\TaggedDescriptionInterface}
1313
*
14-
* @property-read \Traversable<array-key, DescriptionInterface|TagInterface> $components
15-
*
1614
* @template-extends \Traversable<array-key, DescriptionInterface|TagInterface>
15+
*
16+
* @property-read \Traversable<array-key, DescriptionInterface|TagInterface> $components
1717
*/
1818
interface TaggedDescriptionInterface extends
1919
DescriptionInterface,

src/DocBlock/Polyfill/Tag/InvalidTagInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@
1313
*/
1414
interface InvalidTagInterface extends
1515
TagInterface {}
16-

src/DocBlock/Tag/InvalidTagInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ interface InvalidTagInterface extends TagInterface
1616
*/
1717
public \Throwable $reason { get; }
1818
}
19-

src/DocBlock/Tag/MethodTag/MethodTag.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
* with a class or interface.
3737
*
3838
* ```
39+
*
3940
* * @method [static] <CallableType> [<description>]
4041
* * @method [static] <ReturnType> <CallableType> [<description>]
4142
* * @method [static] <CallableType>: <ReturnType> [<description>]

src/DocBlock/Tag/OptionalVariableProviderInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ interface OptionalVariableProviderInterface
1515
* entry does not contain a name.
1616
*
1717
* @var non-empty-string|null
18+
*
1819
* @readonly
1920
*/
2021
public ?string $variable { get; }

src/DocBlock/Tag/ParamTag/ParamTag.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* limited to structural elements of type method or function.
2929
*
3030
* ```
31+
*
3132
* * @param [<Type>] $<variable> [<description>]
3233
* ```
3334
*/

src/DocBlock/Tag/PropertyTag/PropertyTag.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
* - Also @see PropertyWrite for "`@property-write`" tag implementation.
3535
*
3636
* ```
37+
*
3738
* * @property[<-read|-write>] [<Type>] $<name> [<description>]
3839
* ```
3940
*/

0 commit comments

Comments
 (0)