Skip to content

Commit

Permalink
Fix ParentModel change
Browse files Browse the repository at this point in the history
  • Loading branch information
lukinovec committed Nov 7, 2023
1 parent 955860d commit ff84ef1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/VirtualColumnTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,15 @@ class MyModel extends ParentModel

class FooModel extends ParentModel
{
public function getCustomColumns(): array
{
return [
'id',
'custom1',
'custom2',
];
}

public function getDataColumn(): string
{
return 'virtual';
Expand Down

0 comments on commit ff84ef1

Please sign in to comment.