Passed
Push — master ( 8049c5...c740e0 )
by Andrés
03:39
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
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Andreshg112\LaravelAuditingNotifications;
4 4
 
5
-use Illuminate\Support\Facades\Config;
6
-use Lab123\AwsSns\Messages\AwsSnsMessage;
7 5
 use Illuminate\Notifications\Notification;
6
+use Illuminate\Support\Facades\Config;
8 7
 use Lab123\AwsSns\Channels\AwsSnsTopicChannel;
8
+use Lab123\AwsSns\Messages\AwsSnsMessage;
9 9
 use OwenIt\Auditing\Exceptions\AuditingException;
10 10
 
11 11
 class AuditSns extends Notification
Please login to merge, or discard this patch.