Skip to content

Commit c581594

Browse files
committed
Fixed exception message
1 parent ffc0229 commit c581594

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/Doctrine/ODM/PHPCR/Mapping/MappingException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,6 @@ public static function lifecycleCallbackMethodNotFound($className, $methodName)
170170

171171
public static function noTranslatorStrategy($className, $fieldNames)
172172
{
173-
return new self("Document '" .$className."' does not have a translation strategy, but the fields ('".implode(', ', $fieldNames)."' have been set as translatable.");
173+
return new self("Document '" .$className."' does not have a translation strategy, but the fields ('".implode('\', \'', $fieldNames)."') have been set as translatable.");
174174
}
175175
}
Binary file not shown.

0 commit comments

Comments
 (0)