Skip to content

Commit cf217d9

Browse files
authored
Merge pull request #18 from delatbabel/analysis-8bDPy4
Applied fixes from StyleCI
2 parents cd3d7fd + 93f07a1 commit cf217d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Console/Commands/ReEncrypt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public function handle()
192192
// encrypted then try to decrypt it with the base encrypter.
193193
$adjust = [];
194194
foreach ($datum_array as $key => $value) {
195-
if (!$this->isEncrypted($value)) {
195+
if (! $this->isEncrypted($value)) {
196196
continue;
197197
}
198198

src/Elocrypt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function decryptedAttribute($value)
140140
*/
141141
protected function doEncryptAttribute($key)
142142
{
143-
if ($this->shouldEncrypt($key) && !$this->isEncrypted($this->attributes[$key])) {
143+
if ($this->shouldEncrypt($key) && ! $this->isEncrypted($this->attributes[$key])) {
144144
try {
145145
$this->attributes[$key] = $this->encryptedAttribute($this->attributes[$key]);
146146
} catch (EncryptException $e) {

0 commit comments

Comments
 (0)