Skip to content

Commit 121c3d6

Browse files
authored
Update ORMInvalidArgumentException.php
1 parent 3aed691 commit 121c3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ORMInvalidArgumentException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ private static function newEntityFoundThroughRelationshipMessage(array $associat
309309
. ' configured to cascade persist operations for entity: ' . self::objToStr($entity) . '.'
310310
. ' To solve this issue: Either explicitly call EntityManager#persist()'
311311
. ' on this unknown entity or configure cascade persist'
312-
. ' this association in the mapping for example #[ORM\ManyToOne(..., cascade: ['persist'])].'
312+
. ' this association in the mapping for example #[ORM\ManyToOne(..., cascade: [\'persist\'])].'
313313
. (method_exists($entity, '__toString')
314314
? ''
315315
: ' If you cannot find out which entity causes the problem implement \''

0 commit comments

Comments
 (0)