浏览代码

fix task notes in task post

master
Daniel 2 年前
父节点
当前提交
c9a6d18826
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      src/Entity/Task.php

+ 2
- 0
src/Entity/Task.php 查看文件

@@ -4,6 +4,7 @@ namespace App\Entity;

use App\Enum\PrioType;
use App\Repository\TaskRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
@@ -58,6 +59,7 @@ class Task
$this->createdBy = $createdBy;
$this->assignedTo = $assignedTo;
$this->createdAt = new \DateTimeImmutable();
$this->taskNotes = new ArrayCollection();
}

public function getId(): ?int


正在加载...
取消
保存