File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function verifyAuthor(User $user)
6868
6969 $ this ->dispatchSync (new VerifyAuthor ($ user ));
7070
71- $ this ->success ($ user ->name () . ' was verified! ' );
71+ $ this ->success ($ user ->name (). ' was verified! ' );
7272
7373 return redirect ()->route ('admin.users ' );
7474 }
@@ -79,7 +79,7 @@ public function unverifyAuthor(User $user)
7979
8080 $ this ->dispatchSync (new UnverifyAuthor ($ user ));
8181
82- $ this ->success ($ user ->name () . ' was unverified! ' );
82+ $ this ->success ($ user ->name (). ' was unverified! ' );
8383
8484 return redirect ()->route ('admin.users ' );
8585 }
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ protected function fetchUnsplashImageDataFromId(Article $article): ?array
4040 if ($ response ->failed ()) {
4141 $ article ->hero_image_id = null ;
4242 $ article ->save ();
43-
43+
4444 return null ;
4545 }
4646
@@ -57,4 +57,4 @@ protected function fetchUnsplashImageDataFromId(Article $article): ?array
5757 'author_url ' => $ response ['user ' ]['links ' ]['html ' ],
5858 ];
5959 }
60- }
60+ }
You can’t perform that action at this time.
0 commit comments