VariationDataExtension
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
eloc 3
c 1
b 0
f 0
dl 0
loc 7
1
<?php
2
3
namespace Dynamic\Foxy\Discounts\Tests\TestOnly\Extension;
4
5
use Dynamic\Foxy\Discounts\Tests\TestOnly\Page\ProductPage;
6
use SilverStripe\Dev\TestOnly;
7
use SilverStripe\ORM\DataExtension;
8
9
/**
10
 * Class VariationDataExtension
11
 */
12
class VariationDataExtension extends DataExtension implements TestOnly
13
{
14
    /**
15
     * @var string[]
16
     */
17
    private static $has_one = [
0 ignored issues
show
introduced by
The private property $has_one is not used, and could be removed.
Loading history...
18
        'Product' => ProductPage::class,
19
    ];
20
}
21