Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/Traits/EncryptsAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ trait EncryptsAttributes
// same key to encrypt or decrypt other wise we'll get an error. You
// need to make sure, every developer in your team has the same
// key in their env.
protected static function boot()
protected static function bootEncryptsAttributes()
{
parent::boot();

// This event is called when a new record is getting created or updated
static::saving(function($model) {
$attributes = $model->getFillableAttributes();
Expand Down