mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 07:33:50 +00:00
apply rector rules
This commit is contained in:
@@ -37,17 +37,17 @@ class Document implements TrackCreationInterface, TrackUpdateInterface
|
||||
* @ORM\JoinColumn(name="category_id_inside_bundle", referencedColumnName="id_inside_bundle")
|
||||
* })
|
||||
*/
|
||||
private $category;
|
||||
private ?\Chill\DocStoreBundle\Entity\DocumentCategory $category = null;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="datetime")
|
||||
*/
|
||||
private $date;
|
||||
private ?\DateTimeInterface $date = null;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="text")
|
||||
*/
|
||||
private $description = '';
|
||||
private string $description = '';
|
||||
|
||||
/**
|
||||
* @ORM\Id
|
||||
@@ -66,12 +66,12 @@ class Document implements TrackCreationInterface, TrackUpdateInterface
|
||||
* message="Upload a document"
|
||||
* )
|
||||
*/
|
||||
private $object;
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $object = null;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity="Chill\DocGeneratorBundle\Entity\DocGeneratorTemplate")
|
||||
*/
|
||||
private $template;
|
||||
private ?\Chill\DocGeneratorBundle\Entity\DocGeneratorTemplate $template = null;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="text")
|
||||
@@ -79,7 +79,7 @@ class Document implements TrackCreationInterface, TrackUpdateInterface
|
||||
* min=2, max=250
|
||||
* )
|
||||
*/
|
||||
private $title;
|
||||
private ?string $title = null;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\User")
|
||||
|
Reference in New Issue
Block a user