Passed
Push — 4 ( cadd86...a847d9 )
by Guy
11:20 queued 11s
created

tests/Src/TestElementDataObject.php (3 issues)

Severity
1
<?php
2
3
namespace DNADesign\Elemental\Tests\Src;
4
5
use DNADesign\Elemental\Models\BaseElement;
6
use SilverStripe\Dev\TestOnly;
7
8
class TestElementDataObject extends BaseElement implements TestOnly
9
{
10
    private static $table_name = 'TestElementDataObject';
0 ignored issues
show
The private property $table_name is not used, and could be removed.
Loading history...
11
12
    private static $db = [
0 ignored issues
show
The private property $db is not used, and could be removed.
Loading history...
13
        'TestValue' => 'Text',
14
    ];
15
16
    private static bool $inline_editable = false;
0 ignored issues
show
The private property $inline_editable is not used, and could be removed.
Loading history...
17
18
    public function getType()
19
    {
20
        return 'A test element in DataObject';
21
    }
22
}
23