Skip to content

Commit

Permalink
Update cascade argument
Browse files Browse the repository at this point in the history
Must be of the type array or null
  • Loading branch information
alessandrocraeye authored and carakas committed Nov 12, 2023
1 parent 804e3b6 commit ff45dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/07. media library/03. integrating in your module.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use Backend\Modules\MediaLibrary\Domain\MediaGroup\MediaGroup;
*
* @ORM\OneToOne(
* targetEntity="Backend\Modules\MediaLibrary\Domain\MediaGroup\MediaGroup",
* cascade="persist",
* cascade={"persist"},
* orphanRemoval=true
* )
* @ORM\JoinColumn(
Expand Down

0 comments on commit ff45dc5

Please sign in to comment.