改进 设置默认值

This commit is contained in:
iVampireSP.com 2023-01-18 01:29:13 +08:00
parent 59f77251f0
commit 3adacd43a0
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -21,7 +21,7 @@ class UserNotification extends Notification implements ShouldQueue
* *
* @return void * @return void
*/ */
public function __construct(string $title, string $content, bool $send_mail) public function __construct(string $title, string $content, bool $send_mail = false)
{ {
$this->title = $title; $this->title = $title;
$this->content = $content; $this->content = $content;