Skip to content

Commit 1f41065

Browse files
committed
null value are save as is
1 parent 3b3a9a4 commit 1f41065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/EncryptableDbAttribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function attributesToArray(): array
7171
*
7272
* @return mixed
7373
*/
74-
private function encrypt($value): string
74+
private function encrypt($value)
7575
{
7676
try {
7777
$value = Crypt::encrypt($value);

0 commit comments

Comments
 (0)