Issues (35)

src/Admin/TestimonialsAdmin.php (3 issues)

Severity
1
<?php
2
3
namespace Dynamic\Elements\Admin;
4
5
use Dynamic\Elements\Model\Testimonial;
6
use Dynamic\Elements\Model\TestimonialCategory;
7
use SilverStripe\Admin\ModelAdmin;
8
9
/**
10
 * Class TestimonialsAdmin
11
 * @package Dynamic\Elements\Admin
12
 */
13
class TestimonialsAdmin extends ModelAdmin
14
{
15
    /**
16
     * @var array
17
     */
18
    private static $managed_models = [
0 ignored issues
show
The private property $managed_models is not used, and could be removed.
Loading history...
19
        Testimonial::class => [
20
            'title' => 'Testimonials',
21
        ],
22
        TestimonialCategory::class => [
23
            'title' => 'Testimonial Categories',
24
        ],
25
    ];
26
27
    /**
28
     * @var string
29
     */
30
    private static $url_segment = 'testimonials';
0 ignored issues
show
The private property $url_segment is not used, and could be removed.
Loading history...
31
32
    /**
33
     * @var string
34
     */
35
    private static $menu_title = 'Testimonials';
0 ignored issues
show
The private property $menu_title is not used, and could be removed.
Loading history...
36
}
37