Skip to content

Commit ba23ce1

Browse files
Update doctrine/associations.rst
Co-authored-by: Oskar Stark <[email protected]>
1 parent 3ea0db8 commit ba23ce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine/associations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ on that ``Product`` will be set to ``null`` in the database.
585585

586586
Please be aware that the inverse side could be associated with a large amount of records.
587587
I.e. there could be a large amount of products with the same category.
588-
In this case `$this->products->contains($product)` could lead to unwanted database
588+
In this case ``$this->products->contains($product)`` could lead to unwanted database
589589
requests and very high memory consumption with the risk of hard to debug "Out of memory" errors.
590590

591591
So make sure if you need an inverse side and check if the generated code could lead to such issues.

0 commit comments

Comments
 (0)