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

Commit 8853ac8

Browse files
funkjediaustinheap
authored andcommittedNov 26, 2019
Import facades directly instead of importing the aliases
1 parent e35c2ee commit 8853ac8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎src/Console/Commands/MigrateEncryptionCommand.php

+1-1
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

+1-1
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

+3-3
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)
This repository has been archived.