Issues (10)

tests/TestOnly/TestCollectionController.php (2 issues)

Severity
1
<?php
2
3
namespace Dynamic\Collection\Test\TestOnly;
4
5
use Dynamic\Collection\CollectionExtension;
6
use Dynamic\Collection\Test\TestOnly\TestCollectionObject;
7
use SilverStripe\Dev\TestOnly;
8
9
class TestCollectionController extends \PageController implements TestOnly
10
{
11
    /**
12
     * @var string
13
     */
14
    private static $managed_object = TestCollectionObject::class;
0 ignored issues
show
The private property $managed_object is not used, and could be removed.
Loading history...
15
16
    /**
17
     * @var array
18
     */
19
    private static $extensions = [
0 ignored issues
show
The private property $extensions is not used, and could be removed.
Loading history...
20
        CollectionExtension::class
21
    ];
22
}
23