Passed
Push — master ( 6f6f54...8f8ad3 )
by Andrés
06:44
created
src/NotificationDriver.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     /**
15 15
      * Perform an audit.
16 16
      *
17
-     * @param \OwenIt\Auditing\Contracts\Auditable|\Illuminate\Notifications\Notifiable $model
17
+     * @param Auditable $model
18 18
      * @return \OwenIt\Auditing\Contracts\Audit
19 19
      */
20 20
     public function audit(Auditable $model): Audit
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Andreshg112\LaravelAuditingNotifications;
4 4
 
5
+use Illuminate\Notifications\Notifiable;
5 6
 use Illuminate\Support\Arr;
6 7
 use OwenIt\Auditing\Contracts\Audit;
7
-use Illuminate\Notifications\Notifiable;
8
-use OwenIt\Auditing\Contracts\Auditable;
9 8
 use OwenIt\Auditing\Contracts\AuditDriver;
9
+use OwenIt\Auditing\Contracts\Auditable;
10 10
 use OwenIt\Auditing\Exceptions\AuditingException;
11 11
 
12 12
 class NotificationDriver implements AuditDriver
Please login to merge, or discard this patch.
src/AuditSns.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 namespace Andreshg112\LaravelAuditingNotifications;
4 4
 
5 5
 use Illuminate\Bus\Queueable;
6
-use Illuminate\Support\Facades\Config;
7
-use Lab123\AwsSns\Messages\AwsSnsMessage;
8 6
 use Illuminate\Notifications\Notification;
7
+use Illuminate\Support\Facades\Config;
9 8
 use Lab123\AwsSns\Channels\AwsSnsTopicChannel;
9
+use Lab123\AwsSns\Messages\AwsSnsMessage;
10 10
 use OwenIt\Auditing\Exceptions\AuditingException;
11 11
 
12 12
 class AuditSns extends Notification
Please login to merge, or discard this patch.