改进 设置默认值
This commit is contained in:
parent
59f77251f0
commit
3adacd43a0
@ -21,7 +21,7 @@ class UserNotification extends Notification implements ShouldQueue
|
||||
*
|
||||
* @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->content = $content;
|
||||
|
Loading…
Reference in New Issue
Block a user