Skip to content

Commit aec924a

Browse files
committed
Fixed the DateTime constraint deprecation
1 parent ec6bd34 commit aec924a

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/Entity/Comment.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ class Comment
6464
* @var \DateTime
6565
*
6666
* @ORM\Column(type="datetime")
67-
* @Assert\DateTime
6867
*/
6968
private $publishedAt;
7069

src/Entity/Post.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ class Post
8787
* @var \DateTime
8888
*
8989
* @ORM\Column(type="datetime")
90-
* @Assert\DateTime
9190
*/
9291
private $publishedAt;
9392

0 commit comments

Comments
 (0)