Issues (1270)

src/Model/UserLabel.php (2 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
11
/**
12
 * @ORM\Table(indexes={@ORM\Index(name="label_id", columns={"label_id"}), @ORM\Index(name="article_id", columns={"article_id"})})
13
 * @ORM\Entity
14
 */
15
class UserLabel extends Model
16
{
17
    use Identified;
18
19
    /**
20
     * @var Label
21
     *
22
     * @ORM\ManyToOne(targetEntity="Label")
23
     * @ORM\JoinColumns({
24
     *   @ORM\JoinColumn(name="label_id", referencedColumnName="id")
25
     * })
26
     */
27
    private $label;
0 ignored issues
show
The private property $label is not used, and could be removed.
Loading history...
28
29
    /**
30
     * @var Entry
31
     *
32
     * @ORM\ManyToOne(targetEntity="Entry")
33
     * @ORM\JoinColumns({
34
     *   @ORM\JoinColumn(name="article_id", referencedColumnName="id")
35
     * })
36
     */
37
    private $article;
0 ignored issues
show
The private property $article is not used, and could be removed.
Loading history...
38
}
39