Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Commit 19b7f9d

Browse files
committed
Import facades directly instead of importing the aliases
1 parent 026d7b9 commit 19b7f9d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Console/Commands/MigrateEncryptionCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
use Exception;
1313
use RuntimeException;
14-
use DatabaseEncryption;
1514
use Illuminate\Support\Facades\DB;
1615
use Illuminate\Support\Facades\Log;
1716
use Illuminate\Encryption\Encrypter;
1817
use Illuminate\Support\Facades\Config;
18+
use AustinHeap\Database\Encryption\EncryptionFacade as DatabaseEncryption;
1919

2020
/**
2121
* Class MigrateEncryptionCommand.

src/EncryptionHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
namespace AustinHeap\Database\Encryption;
1111

12-
use Config;
1312
use RuntimeException;
13+
use Illuminate\Support\Facades\Config;
1414

1515
/**
1616
* EncryptionHelper.

src/Traits/HasEncryptedAttributes.php

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

1010
namespace AustinHeap\Database\Encryption\Traits;
1111

12-
use Log;
13-
use Crypt;
14-
use DatabaseEncryption;
12+
use Illuminate\Support\Facades\Log;
13+
use Illuminate\Support\Facades\Crypt;
1514
use Illuminate\Contracts\Encryption\DecryptException;
1615
use Illuminate\Contracts\Encryption\EncryptException;
16+
use AustinHeap\Database\Encryption\EncryptionFacade as DatabaseEncryption;
1717

1818
/**
1919
* HasEncryptedAttributes.

0 commit comments

Comments
 (0)