Skip to content

Commit 49937f0

Browse files
committed
Apply fixes from StyleCI
1 parent decbaad commit 49937f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Notifications/NewDiscussionBlueprint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class NewDiscussionBlueprint implements BlueprintInterface, MailableInterface
2929
*/
3030
public $post;
3131

32-
public function __construct(Discussion $discussion, Post $post = null)
32+
public function __construct(Discussion $discussion, ?Post $post = null)
3333
{
3434
$this->discussion = $discussion;
3535
$this->post = $post;

src/Notifications/NewDiscussionTagBlueprint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class NewDiscussionTagBlueprint implements BlueprintInterface, MailableInterface
3535
*/
3636
public $post;
3737

38-
public function __construct(User $actor, Discussion $discussion, Post $post = null)
38+
public function __construct(User $actor, Discussion $discussion, ?Post $post = null)
3939
{
4040
$this->actor = $actor;
4141
$this->discussion = $discussion;

0 commit comments

Comments
 (0)