Issues (1270)

src/Model/LinkedFeed.php (7 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
12
/**
13
 * @ORM\Table(indexes={@ORM\Index(name="instance_id", columns={"instance_id"})})
14
 * @ORM\Entity
15
 */
16
class LinkedFeed extends Model
17
{
18
    use Identified;
19
20
    /**
21
     * @var string
22
     *
23
     * @ORM\Column(name="feed_url", type="text", length=65535, nullable=false)
24
     */
25
    private $feedUrl;
0 ignored issues
show
The private property $feedUrl is not used, and could be removed.
Loading history...
26
27
    /**
28
     * @var string
29
     *
30
     * @ORM\Column(name="site_url", type="text", length=65535, nullable=false)
31
     */
32
    private $siteUrl;
0 ignored issues
show
The private property $siteUrl is not used, and could be removed.
Loading history...
33
34
    /**
35
     * @var string
36
     *
37
     * @ORM\Column(name="title", type="text", length=65535, nullable=false)
38
     */
39
    private $title;
0 ignored issues
show
The private property $title is not used, and could be removed.
Loading history...
40
41
    /**
42
     * @var DateTime
43
     *
44
     * @ORM\Column(name="created", type="datetime", nullable=false)
45
     */
46
    private $created;
0 ignored issues
show
The private property $created is not used, and could be removed.
Loading history...
47
48
    /**
49
     * @var DateTime
50
     *
51
     * @ORM\Column(name="updated", type="datetime", nullable=false)
52
     */
53
    private $updated;
0 ignored issues
show
The private property $updated is not used, and could be removed.
Loading history...
54
55
    /**
56
     * @var int
57
     *
58
     * @ORM\Column(name="subscribers", type="integer", nullable=false)
59
     */
60
    private $subscribers;
0 ignored issues
show
The private property $subscribers is not used, and could be removed.
Loading history...
61
62
    /**
63
     * @var LinkedInstance
64
     *
65
     * @ORM\ManyToOne(targetEntity="LinkedInstance")
66
     * @ORM\JoinColumns({
67
     *   @ORM\JoinColumn(name="instance_id", referencedColumnName="id")
68
     * })
69
     */
70
    private $instance;
0 ignored issues
show
The private property $instance is not used, and could be removed.
Loading history...
71
}
72