Issues (216)

tests/TopPage/TestChildPage.php (2 issues)

Severity
1
<?php
2
3
namespace DNADesign\Elemental\Tests\TopPage;
4
5
use Page;
6
use SilverStripe\Dev\TestOnly;
7
8
/**
9
 * Class TestChildPage
10
 *
11
 * @method TestContent TestContent()
12
 * @package DNADesign\Elemental\Tests\TopPage
13
 */
14
class TestChildPage extends Page implements TestOnly
15
{
16
    /**
17
     * @var string
18
     */
19
    private static $table_name = 'TestChildPage';
0 ignored issues
show
The private property $table_name is not used, and could be removed.
Loading history...
20
21
    /**
22
     * @var array
23
     */
24
    private static $belongs_to = [
0 ignored issues
show
The private property $belongs_to is not used, and could be removed.
Loading history...
25
        'TestContent' => TestContent::class . '.ChildPage',
26
    ];
27
}
28