apply rector rules

This commit is contained in:
2023-07-28 02:40:02 +02:00
parent 157cdf6dfc
commit f570fe92a5
112 changed files with 252 additions and 562 deletions

View File

@@ -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")