Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Commit ab05e7d

Browse files
authored
Apply fixes from StyleCI (#4)
[ci skip] [skip ci]
1 parent efcbb10 commit ab05e7d

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

src/AuditSns.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22

33
namespace Andreshg112\LaravelAuditingNotifications;
44

5-
use Illuminate\Support\Facades\Config;
6-
use Lab123\AwsSns\Messages\AwsSnsMessage;
75
use Illuminate\Notifications\Notification;
6+
use Illuminate\Support\Facades\Config;
87
use Lab123\AwsSns\Channels\AwsSnsTopicChannel;
8+
use Lab123\AwsSns\Messages\AwsSnsMessage;
99
use OwenIt\Auditing\Exceptions\AuditingException;
1010

1111
class AuditSns extends Notification
1212
{
13-
/** @var array $auditData */
13+
/** @var array */
1414
protected $auditData = null;
1515

1616
/**
1717
* Create a new notification instance.
1818
*
19-
* @param array $auditData
19+
* @param array $auditData
2020
*/
2121
public function __construct(array $auditData)
2222
{

src/NotificationDriver.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Andreshg112\LaravelAuditingNotifications;
44

5+
use Illuminate\Notifications\Notifiable;
56
use Illuminate\Support\Arr;
67
use OwenIt\Auditing\Contracts\Audit;
7-
use Illuminate\Notifications\Notifiable;
88
use OwenIt\Auditing\Contracts\Auditable;
99
use OwenIt\Auditing\Contracts\AuditDriver;
1010
use OwenIt\Auditing\Exceptions\AuditingException;
@@ -14,7 +14,7 @@ class NotificationDriver implements AuditDriver
1414
/**
1515
* Perform an audit.
1616
*
17-
* @param \OwenIt\Auditing\Contracts\Auditable|\Illuminate\Notifications\Notifiable $model
17+
* @param \OwenIt\Auditing\Contracts\Auditable|\Illuminate\Notifications\Notifiable $model
1818
* @return \OwenIt\Auditing\Contracts\Audit
1919
*/
2020
public function audit(Auditable $model): Audit
@@ -46,7 +46,7 @@ public function audit(Auditable $model): Audit
4646
/**
4747
* Remove older audits that go over the threshold.
4848
*
49-
* @param \OwenIt\Auditing\Contracts\Auditable $model
49+
* @param \OwenIt\Auditing\Contracts\Auditable $model
5050
* @return bool
5151
*/
5252
public function prune(Auditable $model): bool

tests/AuditSnsQueueTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Andreshg112\LaravelAuditingNotifications\Tests;
44

5-
use Orchestra\Testbench\TestCase;
6-
use Illuminate\Support\Facades\Notification;
75
use Andreshg112\LaravelAuditingNotifications\AuditSnsQueue;
6+
use Illuminate\Support\Facades\Notification;
7+
use Orchestra\Testbench\TestCase;
88

99
class AuditSnsQueueTest extends TestCase
1010
{

tests/AuditSnsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Andreshg112\LaravelAuditingNotifications\Tests;
44

5-
use Orchestra\Testbench\TestCase;
5+
use Andreshg112\LaravelAuditingNotifications\AuditSns;
66
use Illuminate\Support\Facades\Config;
77
use Lab123\AwsSns\Messages\AwsSnsMessage;
8-
use Andreshg112\LaravelAuditingNotifications\AuditSns;
8+
use Orchestra\Testbench\TestCase;
99

1010
class AuditSnsTest extends TestCase
1111
{

tests/NotificationDriverTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Andreshg112\LaravelAuditingNotifications\Tests;
44

5-
use Orchestra\Testbench\TestCase;
6-
use OwenIt\Auditing\Models\Audit;
75
use Andreshg112\LaravelAuditingNotifications\AuditSns;
86
use Andreshg112\LaravelAuditingNotifications\NotificationDriver;
7+
use Orchestra\Testbench\TestCase;
8+
use OwenIt\Auditing\Models\Audit;
99

1010
class NotificationDriverTest extends TestCase
1111
{

0 commit comments

Comments
 (0)