Issues (1270)

src/Model/EntryComment.php (3 issues)

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