diff --git a/src/VirtualColumn.php b/src/VirtualColumn.php index 0477018..9a07e8e 100644 --- a/src/VirtualColumn.php +++ b/src/VirtualColumn.php @@ -147,9 +147,11 @@ trait VirtualColumn static::$afterListeners[$event][] = $callback; } - public function getCasts(){return array_merge(parent::getCasts(), [ - static::getDataColumn() => 'array', - ]); + public function getCasts() + { + return array_merge(parent::getCasts(), [ + static::getDataColumn() => 'array', + ]); } /**