Completed
Pull Request — master (#19)
by
unknown
10:18
created
src/Notifications/ConfirmEmail.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      * Get the notification's delivery channels.
18 18
      *
19 19
      * @param  mixed  $notifiable
20
-     * @return array
20
+     * @return string[]
21 21
      */
22 22
     public function via($notifiable)
23 23
     {
@@ -39,6 +39,9 @@  discard block
 block discarded – undo
39 39
             ->action(__('confirmation::confirmation.confirmation_button'), $this->confirmationUrl($notifiable));
40 40
     }
41 41
 
42
+    /**
43
+     * @return string
44
+     */
42 45
     protected function confirmationUrl($notifiable)
43 46
     {
44 47
         return URL::temporarySignedRoute(
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\EmailConfirmation\Notifications;
4 4
 
5
-use Carbon\Carbon;
6 5
 use Illuminate\Bus\Queueable;
7
-use Illuminate\Notifications\Notification;
8 6
 use Illuminate\Contracts\Queue\ShouldQueue;
9 7
 use Illuminate\Notifications\Messages\MailMessage;
8
+use Illuminate\Notifications\Notification;
10 9
 use Illuminate\Support\Facades\URL;
11 10
 
12 11
 class ConfirmEmail extends Notification implements ShouldQueue
Please login to merge, or discard this patch.