1
0
Fork 0
mirror of https://github.com/archtechx/virtualcolumn.git synced 2025-12-12 12:14:03 +00:00

Fix code style (php-cs-fixer)

This commit is contained in:
Samuel Štancl 2023-10-17 07:43:07 +00:00
parent b82084ba90
commit 424096a548

View file

@ -103,19 +103,19 @@ trait VirtualColumn
'retrieved' => [ 'retrieved' => [
function ($model) { function ($model) {
// Always decode after model retrieval // Always decode after model retrieval
$model->dataEncoded = true; $model->dataEncoded = true;
$this->decodeVirtualColumn($model); $this->decodeVirtualColumn($model);
} },
], ],
'saving' => [ 'saving' => [
[$this, 'encodeAttributes'] [$this, 'encodeAttributes'],
], ],
'creating' => [ 'creating' => [
[$this, 'encodeAttributes'] [$this, 'encodeAttributes'],
], ],
'updating' => [ 'updating' => [
[$this, 'encodeAttributes'] [$this, 'encodeAttributes'],
], ],
]; ];
} }