We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3aed691 commit 121c3d6Copy full SHA for 121c3d6
src/ORMInvalidArgumentException.php
@@ -309,7 +309,7 @@ private static function newEntityFoundThroughRelationshipMessage(array $associat
309
. ' configured to cascade persist operations for entity: ' . self::objToStr($entity) . '.'
310
. ' To solve this issue: Either explicitly call EntityManager#persist()'
311
. ' on this unknown entity or configure cascade persist'
312
- . ' this association in the mapping for example #[ORM\ManyToOne(..., cascade: ['persist'])].'
+ . ' this association in the mapping for example #[ORM\ManyToOne(..., cascade: [\'persist\'])].'
313
. (method_exists($entity, '__toString')
314
? ''
315
: ' If you cannot find out which entity causes the problem implement \''
0 commit comments