Skip to content

Commit 8bf0cfd

Browse files
committed
Merge pull request #587 from dantleech/exception_message
Fixed exception message
2 parents ffc0229 + c581594 commit 8bf0cfd

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)