File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,23 +53,23 @@ public function boot()
53
53
$ this ->configureRoutes ();
54
54
$ this ->configureCommands ();
55
55
56
- RedirectResponse::macro ('banner ' , function ($ message ) {
56
+ RedirectResponse::macro ('banner ' , function ($ message ): RedirectResponse {
57
57
/** @var \Illuminate\Http\RedirectResponse $this */
58
58
return $ this ->with ('flash ' , [
59
59
'bannerStyle ' => 'success ' ,
60
60
'banner ' => $ message ,
61
61
]);
62
62
});
63
63
64
- RedirectResponse::macro ('warningBanner ' , function ($ message ) {
64
+ RedirectResponse::macro ('warningBanner ' , function ($ message ): RedirectResponse {
65
65
/** @var \Illuminate\Http\RedirectResponse $this */
66
66
return $ this ->with ('flash ' , [
67
67
'bannerStyle ' => 'warning ' ,
68
68
'banner ' => $ message ,
69
69
]);
70
70
});
71
71
72
- RedirectResponse::macro ('dangerBanner ' , function ($ message ) {
72
+ RedirectResponse::macro ('dangerBanner ' , function ($ message ): RedirectResponse {
73
73
/** @var \Illuminate\Http\RedirectResponse $this */
74
74
return $ this ->with ('flash ' , [
75
75
'bannerStyle ' => 'danger ' ,
You can’t perform that action at this time.
0 commit comments