1 | <?php |
||
14 | class User |
||
15 | { |
||
16 | /** |
||
17 | * @return mixed |
||
18 | */ |
||
19 | public function getId() |
||
23 | |||
24 | /** |
||
25 | * @param mixed $id |
||
26 | * @return User |
||
27 | */ |
||
28 | public function setId($id) |
||
33 | |||
34 | /** |
||
35 | * @return int |
||
36 | */ |
||
37 | public function getChatId() |
||
41 | |||
42 | /** |
||
43 | * @param int $chatId |
||
44 | * @return User |
||
45 | */ |
||
46 | public function setChatId($chatId) |
||
51 | |||
52 | /** |
||
53 | * @ORM\Id |
||
54 | * @ORM\Column(type="integer") |
||
55 | * @ORM\GeneratedValue(strategy="AUTO") |
||
56 | */ |
||
57 | protected $id; |
||
58 | |||
59 | /** |
||
60 | * @var integer |
||
61 | * |
||
62 | * @ORM\Column(name="chat_id", type="bigint", nullable=false) |
||
63 | */ |
||
64 | protected $chatId; |
||
65 | |||
66 | /** |
||
67 | * @ORM\Column(name="telegram_id", type="bigint") |
||
68 | */ |
||
69 | protected $tgId; |
||
70 | |||
71 | /** |
||
72 | * @return mixed |
||
73 | */ |
||
74 | public function getTgId() |
||
78 | |||
79 | /** |
||
80 | * @param mixed $tgId |
||
81 | */ |
||
82 | public function setTgId($tgId) |
||
86 | |||
87 | /** |
||
88 | * @return string |
||
89 | */ |
||
90 | public function getName() |
||
94 | |||
95 | /** |
||
96 | * @param string $name |
||
97 | */ |
||
98 | public function setName($name) |
||
102 | |||
103 | /** |
||
104 | * @return string |
||
105 | */ |
||
106 | public function getAlias() |
||
110 | |||
111 | /** |
||
112 | * @param string $alias |
||
113 | */ |
||
114 | public function setAlias($alias) |
||
118 | |||
119 | /** |
||
120 | * @return int |
||
121 | */ |
||
122 | public function getPoints() |
||
126 | |||
127 | /** |
||
128 | * @param int $points |
||
129 | */ |
||
130 | public function setPoints($points) |
||
134 | |||
135 | /** |
||
136 | * @return int |
||
137 | */ |
||
138 | public function getGame() |
||
142 | |||
143 | /** |
||
144 | * @param Game $game |
||
145 | */ |
||
146 | public function setGame($game) |
||
150 | |||
151 | /** |
||
152 | * @var string |
||
153 | * |
||
154 | * @ORM\Column(name="name", type="text") |
||
155 | */ |
||
156 | protected $name; |
||
157 | |||
158 | /** |
||
159 | * @var string |
||
160 | * |
||
161 | * @ORM\Column(name="alias", type="string", nullable=true) |
||
162 | */ |
||
163 | protected $alias; |
||
164 | |||
165 | /** |
||
166 | * @var integer |
||
167 | * |
||
168 | * @ORM\Column(name="points", type="bigint") |
||
169 | */ |
||
170 | protected $points; |
||
171 | |||
172 | /** |
||
173 | * @var integer |
||
174 | * |
||
175 | * @ORM\ManyToOne(targetEntity="Chrl\AppBundle\Entity\Game", inversedBy="users") |
||
176 | */ |
||
177 | public $game; |
||
178 | /** |
||
179 | * @ORM\OneToMany(targetEntity="Chrl\AppBundle\Entity\Message", mappedBy="user") |
||
180 | */ |
||
181 | public $messages; |
||
182 | |||
183 | /** |
||
184 | * @ORM\Column(type="integer") |
||
185 | */ |
||
186 | public $fastestAnswer = 10000; |
||
187 | } |
||
188 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..