Skip to content

Commit d42fe11

Browse files
ansienjaviereguiluz
authored andcommitted
Updated associations.rst
Updated to reflect correct nullable status of $category.
1 parent 0dc8482 commit d42fe11

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)