File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -58,13 +58,11 @@ interface DataTransformerInterface
58
58
*
59
59
* @param TValue|null $value The value in the original representation
60
60
*
61
- * @return mixed
62
- *
63
- * @psalm-return TTransformedValue|null
61
+ * @return TTransformedValue|null
64
62
*
65
63
* @throws TransformationFailedException when the transformation fails
66
64
*/
67
- public function transform (mixed $ value );
65
+ public function transform (mixed $ value ): mixed ;
68
66
69
67
/**
70
68
* Transforms a value from the transformed representation to its original
@@ -89,11 +87,9 @@ public function transform(mixed $value);
89
87
*
90
88
* @param TTransformedValue|null $value The value in the transformed representation
91
89
*
92
- * @return mixed
93
- *
94
- * @psalm-return TValue|null
90
+ * @return TValue|null
95
91
*
96
92
* @throws TransformationFailedException when the transformation fails
97
93
*/
98
- public function reverseTransform (mixed $ value );
94
+ public function reverseTransform (mixed $ value ): mixed ;
99
95
}
You can’t perform that action at this time.
0 commit comments