Skip to content

Commit

Permalink
Merge pull request #3 from TapanDerasari/change_encryptable_stuff_san…
Browse files Browse the repository at this point in the history
…deep

fix: Changed in readme for encryptable array
  • Loading branch information
TapanDerasari authored Mar 8, 2024
2 parents d5bd931 + 89a6bb1 commit d30d63f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class User extends Model
{
use Encryptable; // <-- 1. Include trait

protected $encryptable = [ // <-- 2. Include columns to be encrypted
public array $encryptable = [ // <-- 2. Include columns to be encrypted
'email',
'first_name',
'last_name',
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
],
"require": {
"php": "^8.0",
"illuminate/database": "^10.0",
"illuminate/support": "^10.0"
"illuminate/database": "^10.0|^11.0",
"illuminate/support": "^10.0|^11.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit d30d63f

Please sign in to comment.