File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,23 +53,23 @@ public function boot()
5353 $ this ->configureRoutes ();
5454 $ this ->configureCommands ();
5555
56- RedirectResponse::macro ('banner ' , function ($ message ) {
56+ RedirectResponse::macro ('banner ' , function ($ message ): RedirectResponse {
5757 /** @var \Illuminate\Http\RedirectResponse $this */
5858 return $ this ->with ('flash ' , [
5959 'bannerStyle ' => 'success ' ,
6060 'banner ' => $ message ,
6161 ]);
6262 });
6363
64- RedirectResponse::macro ('warningBanner ' , function ($ message ) {
64+ RedirectResponse::macro ('warningBanner ' , function ($ message ): RedirectResponse {
6565 /** @var \Illuminate\Http\RedirectResponse $this */
6666 return $ this ->with ('flash ' , [
6767 'bannerStyle ' => 'warning ' ,
6868 'banner ' => $ message ,
6969 ]);
7070 });
7171
72- RedirectResponse::macro ('dangerBanner ' , function ($ message ) {
72+ RedirectResponse::macro ('dangerBanner ' , function ($ message ): RedirectResponse {
7373 /** @var \Illuminate\Http\RedirectResponse $this */
7474 return $ this ->with ('flash ' , [
7575 'bannerStyle ' => 'danger ' ,
You can’t perform that action at this time.
0 commit comments