@@ -33,11 +33,11 @@ public function packageRegistered()
33
33
$ this ->app [Kernel::class]->prependToMiddlewarePriority (WithDraftsMiddleware::class);
34
34
35
35
Blueprint::macro ('drafts ' , function (
36
- string $ uuid = null ,
37
- string $ publishedAt = null ,
38
- string $ isPublished = null ,
39
- string $ isCurrent = null ,
40
- string $ publisherMorphName = null ,
36
+ ? string $ uuid = null ,
37
+ ? string $ publishedAt = null ,
38
+ ? string $ isPublished = null ,
39
+ ? string $ isCurrent = null ,
40
+ ? string $ publisherMorphName = null ,
41
41
) {
42
42
/** @var Blueprint $this */
43
43
$ uuid ??= config ('drafts.column_names.uuid ' , 'uuid ' );
@@ -56,11 +56,11 @@ public function packageRegistered()
56
56
});
57
57
58
58
Blueprint::macro ('dropDrafts ' , function (
59
- string $ uuid = null ,
60
- string $ publishedAt = null ,
61
- string $ isPublished = null ,
62
- string $ isCurrent = null ,
63
- string $ publisherMorphName = null ,
59
+ ? string $ uuid = null ,
60
+ ? string $ publishedAt = null ,
61
+ ? string $ isPublished = null ,
62
+ ? string $ isCurrent = null ,
63
+ ? string $ publisherMorphName = null ,
64
64
) {
65
65
/** @var Blueprint $this */
66
66
$ uuid ??= config ('drafts.column_names.uuid ' , 'uuid ' );
0 commit comments