From b56db856a8bf61cd4c5a14b92436005ce5575378 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Tue, 12 Jul 2022 07:37:17 +0200 Subject: [PATCH] Minor update --- source/docs/v3/tenant-attribute-encryption.blade.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/docs/v3/tenant-attribute-encryption.blade.md b/source/docs/v3/tenant-attribute-encryption.blade.md index f0488f7..4ea994b 100644 --- a/source/docs/v3/tenant-attribute-encryption.blade.md +++ b/source/docs/v3/tenant-attribute-encryption.blade.md @@ -40,7 +40,7 @@ class CreateTenantsTable extends Migration } ``` -Define the custom columns in the Tenant model: +Define the custom columns on the Tenant model: ```php public static function getCustomColumns(): array @@ -53,7 +53,7 @@ public static function getCustomColumns(): array } ``` -Then cast the attributes (using [Laravel's encrypted casts](https://laravel.com/docs/9.x/eloquent-mutators#encrypted-casting), or your custom casts) to encrypt and decrypt the attributes when needed: +Then define casts for the attributes on the model (using [Laravel's encrypted casts](https://laravel.com/docs/9.x/eloquent-mutators#encrypted-casting), or your custom casts) to encrypt and decrypt them when needed: ```php protected $casts = [