|
@@ -45,7 +45,7 @@ class CallbackTransformer implements DataTransformerInterface
|
|
|
* @return mixed The value in the transformed representation
|
|
|
*
|
|
|
* @throws UnexpectedTypeException when the argument is not a string
|
|
|
- * @throws DataTransformerException when the transformation fails
|
|
|
+ * @throws TransformationFailedException when the transformation fails
|
|
|
*/
|
|
|
public function transform($data)
|
|
|
{
|
|
@@ -61,7 +61,7 @@ class CallbackTransformer implements DataTransformerInterface
|
|
|
* @return mixed The value in the original representation
|
|
|
*
|
|
|
* @throws UnexpectedTypeException when the argument is not of the expected type
|
|
|
- * @throws DataTransformerException when the transformation fails
|
|
|
+ * @throws TransformationFailedException when the transformation fails
|
|
|
*/
|
|
|
public function reverseTransform($data)
|
|
|
{
|