Skip to content

Commit 5024533

Browse files
committed
Apply phpcs
1 parent cfc92dd commit 5024533

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

src/DenormalizerInterface.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use JetBrains\PhpStorm\Language;
88
use TypeLang\Mapper\Exception\Definition\DefinitionException;
9-
use TypeLang\Mapper\Exception\Definition\TypeNotFoundException;
109
use TypeLang\Mapper\Exception\Mapping\RuntimeException;
1110

1211
interface DenormalizerInterface
@@ -25,6 +24,7 @@ interface DenormalizerInterface
2524
* ```
2625
*
2726
* @param non-empty-string $type
27+
*
2828
* @throws RuntimeException in case of runtime mapping exception occurs
2929
* @throws DefinitionException in case of type building exception occurs
3030
* @throws \Throwable in case of any internal error occurs
@@ -35,6 +35,7 @@ public function denormalize(mixed $value, #[Language('PHP')] string $type): mixe
3535
* Returns {@see true} if the value can be denormalized for the given type.
3636
*
3737
* @param non-empty-string $type
38+
*
3839
* @throws DefinitionException in case of type building exception occurs
3940
* @throws \Throwable in case of any internal error occurs
4041
*/

src/Mapper.php

+3
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ public function isDenormalizable(mixed $value, #[Language('PHP')] string $type):
164164
* Returns type for mapping by signature.
165165
*
166166
* @api
167+
*
167168
* @param non-empty-string $type
169+
*
168170
* @throws TypeNotFoundException in case of type not found
169171
* @throws \Throwable in case of internal error occurs
170172
*/
@@ -177,6 +179,7 @@ public function getType(#[Language('PHP')] string $type): TypeInterface
177179
* Returns type for mapping by value.
178180
*
179181
* @api
182+
*
180183
* @throws TypeNotFoundException in case of type not found
181184
* @throws \Throwable in case of internal error occurs
182185
*/

src/NormalizerInterface.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use JetBrains\PhpStorm\Language;
88
use TypeLang\Mapper\Exception\Definition\DefinitionException;
9-
use TypeLang\Mapper\Exception\Definition\TypeNotFoundException;
109
use TypeLang\Mapper\Exception\Mapping\RuntimeException;
1110

1211
interface NormalizerInterface
@@ -28,6 +27,7 @@ interface NormalizerInterface
2827
* ```
2928
*
3029
* @param non-empty-string|null $type
30+
*
3131
* @throws RuntimeException in case of runtime mapping exception occurs
3232
* @throws DefinitionException in case of type building exception occurs
3333
* @throws \Throwable in case of any internal error occurs
@@ -41,6 +41,7 @@ public function normalize(mixed $value, #[Language('PHP')] ?string $type = null)
4141
* inferred from the passed value.
4242
*
4343
* @param non-empty-string|null $type
44+
*
4445
* @throws DefinitionException in case of type building exception occurs
4546
* @throws \Throwable in case of any internal error occurs
4647
*/

0 commit comments

Comments
 (0)