|
@@ -75,7 +75,7 @@ class User implements UserInterface
|
|
|
* @var \DateTime
|
|
|
*
|
|
|
* @ORM\Column(name="token_validity", type="datetime")
|
|
|
- * @Assert\DateTime()
|
|
|
+ * @Assert\Type("DateTime")
|
|
|
*/
|
|
|
private $tokenValidity;
|
|
|
|
|
@@ -104,7 +104,7 @@ class User implements UserInterface
|
|
|
* @var \DateTime
|
|
|
*
|
|
|
* @ORM\Column(name="last_activity", type="datetime")
|
|
|
- * @Assert\DateTime()
|
|
|
+ * @Assert\Type("DateTime")
|
|
|
*/
|
|
|
private $lastActivity;
|
|
|
|