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

@@ -31,17 +31,15 @@ use Doctrine\ORM\Mapping as ORM;
class Report implements HasCenterInterface, HasScopeInterface
{
/**
* @var array
* @ORM\Column(type="json")
*/
private $cFData;
private ?array $cFData = null;
/**
* @var CustomFieldsGroup
* @ORM\ManyToOne(
* targetEntity="Chill\CustomFieldsBundle\Entity\CustomFieldsGroup")
*/
private $cFGroup;
private ?\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup $cFGroup = null;
/**
* @var DateTime
@@ -59,22 +57,19 @@ class Report implements HasCenterInterface, HasScopeInterface
private $id;
/**
* @var Person
* @ORM\ManyToOne(targetEntity="Chill\PersonBundle\Entity\Person")
*/
private $person;
private ?\Chill\PersonBundle\Entity\Person $person = null;
/**
* @var Scope
* @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\Scope")
*/
private $scope;
private ?\Chill\MainBundle\Entity\Scope $scope = null;
/**
* @var User
* @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\User")
*/
private $user;
private ?\Chill\MainBundle\Entity\User $user = null;
/**
* @return Center