Skip to content

Commit a22a2d3

Browse files
author
Kirill Nesmeyanov
committed
Apply phpcs
1 parent eddd066 commit a22a2d3

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/Mapping/Metadata/DiscriminatorMapMetadata.php

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

55
namespace TypeLang\Mapper\Mapping\Metadata;
66

7-
use TypeLang\Mapper\Runtime\Context;
87
use TypeLang\Parser\Node\Literal\StringLiteralNode;
98
use TypeLang\Parser\Node\Stmt\TypeStatement;
109
use TypeLang\Parser\Node\Stmt\UnionTypeNode;

src/Mapping/Metadata/PropertyMetadata.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ public function addSkipCondition(MatchConditionMetadata $expression): void
171171
* Returns list of skip conditions.
172172
*
173173
* @api
174+
*
174175
* @return list<MatchConditionMetadata>
175176
*/
176177
public function getSkipConditions(): array

src/Type/ClassType/ClassTypeDenormalizer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
use TypeLang\Mapper\Type\ClassType\ClassInstantiator\ClassInstantiatorInterface;
1818
use TypeLang\Mapper\Type\ClassType\PropertyAccessor\PropertyAccessorInterface;
1919
use TypeLang\Mapper\Type\TypeInterface;
20-
use TypeLang\Parser\Node\Stmt\NamedTypeNode;
21-
use TypeLang\Parser\Node\Stmt\UnionTypeNode;
2220

2321
/**
2422
* @template T of object
@@ -76,6 +74,7 @@ public function cast(mixed $value, Context $context): mixed
7674

7775
/**
7876
* @param array<array-key, mixed> $value
77+
*
7978
* @throws MissingRequiredObjectFieldException in case the required discriminator field is missing
8079
* @throws InvalidObjectValueException in case the discriminator field contains invalid value
8180
* @throws RuntimeException in case of mapped type casting error occurs

0 commit comments

Comments
 (0)