Issues (1270)

src/Model/UserPreference.php (3 issues)

Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace RssApp\Model;
6
7
use Doctrine\ORM\Mapping as ORM;
8
use RssApp\Model;
9
use RssApp\Model\Traits\Identified;
10
use RssApp\Model\Traits\Owned;
11
12
/**
13
 * @ORM\Table(indexes={@ORM\Index(name="profile", columns={"profile"}), @ORM\Index(name="pref_name", columns={"pref_name"}), @ORM\Index(name="owner_uid", columns={"owner_uid"})})
14
 * @ORM\Entity
15
 */
16
class UserPreference extends Model
17
{
18
    use Identified,
19
        Owned;
20
21
    /**
22
     * @var string
23
     *
24
     * @ORM\Column(name="value", type="text", length=0, nullable=false)
25
     */
26
    private $value;
0 ignored issues
show
The private property $value is not used, and could be removed.
Loading history...
27
28
    /**
29
     * @var SettingProfile
30
     *
31
     * @ORM\ManyToOne(targetEntity="SettingProfile")
32
     * @ORM\JoinColumns({
33
     *   @ORM\JoinColumn(name="profile", referencedColumnName="id")
34
     * })
35
     */
36
    private $profile;
0 ignored issues
show
The private property $profile is not used, and could be removed.
Loading history...
37
38
    /**
39
     * @var Preference
40
     *
41
     * @ORM\ManyToOne(targetEntity="Preference")
42
     * @ORM\JoinColumns({
43
     *   @ORM\JoinColumn(name="pref_name", referencedColumnName="pref_name")
44
     * })
45
     */
46
    private $preference;
0 ignored issues
show
The private property $preference is not used, and could be removed.
Loading history...
47
}
48