Skip to content

Commit 9ca4640

Browse files
committed
minor #9951 Updated associations.rst (ansien12)
This PR was submitted for the master branch but it was merged into the 4.0 branch instead (closes #9951). Discussion ---------- Updated associations.rst Updated to reflect correct nullable status of $category. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- d42fe11 Updated associations.rst
2 parents 0dc8482 + d42fe11 commit 9ca4640

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
@@ -155,7 +155,7 @@ the ``Product`` entity (and getter & setter methods):
155155
return $this->category;
156156
}
157157
158-
public function setCategory(?Category $category): self
158+
public function setCategory(Category $category): self
159159
{
160160
$this->category = $category;
161161

0 commit comments

Comments
 (0)