Skip to content

Commit ab43580

Browse files
authored
Update event_dispatcher.rst : fix return type
Fixed return type for a setter in the example `BeforeSendMailEvent` class.
1 parent 2ae6014 commit ab43580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

event_dispatcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ this::
728728
return $this->subject;
729729
}
730730

731-
public function setSubject(string $subject): string
731+
public function setSubject(string $subject): void
732732
{
733733
$this->subject = $subject;
734734
}

0 commit comments

Comments
 (0)