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

Commit 3a57289

Browse files
committed
Apply fixes from StyleCI
1 parent a8718dd commit 3a57289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/HasEncryptedAttributes.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function decryptedAttribute($value)
170170
{
171171
$characters = DatabaseEncryption::getControlCharacters('header');
172172

173-
throw_if(!array_key_exists('stop', $characters), DecryptException::class, "Cannot decrypt model attribute not originally encrypted by this package!");
173+
throw_if(! array_key_exists('stop', $characters), DecryptException::class, 'Cannot decrypt model attribute not originally encrypted by this package!');
174174

175175
$offset = strpos($value, $characters['stop']['string']);
176176
$value = substr($value, $offset);

0 commit comments

Comments
 (0)