Skip to content

Commit 224af52

Browse files
committed
minor #21508 [EventDispatcher][Event Listeners] Update event_dispatcher.rst : fix return type (Glioburd)
This PR was submitted for the 7.3 branch but it was merged into the 6.4 branch instead. Discussion ---------- [EventDispatcher][Event Listeners] Update event_dispatcher.rst : fix return type Fixed return type for a setter in the example `BeforeSendMailEvent` class. From `string` to `void`. Commits ------- e834cf0 Update event_dispatcher.rst : fix return type
2 parents 26f7205 + e834cf0 commit 224af52

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)