mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-08 15:54:59 +00:00
apply rector rules
This commit is contained in:
@@ -53,12 +53,11 @@ class PostalCode implements TrackUpdateInterface, TrackCreationInterface
|
||||
private string $canonical = '';
|
||||
|
||||
/**
|
||||
* @var Point
|
||||
*
|
||||
* @ORM\Column(type="point", nullable=true)
|
||||
* @groups({"read"})
|
||||
*/
|
||||
private $center;
|
||||
private ?\Chill\MainBundle\Doctrine\Model\Point $center = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
@@ -69,12 +68,11 @@ class PostalCode implements TrackUpdateInterface, TrackCreationInterface
|
||||
private $code;
|
||||
|
||||
/**
|
||||
* @var Country
|
||||
*
|
||||
* @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\Country")
|
||||
* @groups({"write", "read"})
|
||||
*/
|
||||
private $country;
|
||||
private ?\Chill\MainBundle\Entity\Country $country = null;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="datetime_immutable", nullable=true, options={"default": null})
|
||||
@@ -100,28 +98,25 @@ class PostalCode implements TrackUpdateInterface, TrackCreationInterface
|
||||
private $name;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="origin", type="integer", nullable=true)
|
||||
* @groups({"write", "read"})
|
||||
*/
|
||||
private $origin = 0;
|
||||
private int $origin = 0;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(type="string", length=255, nullable=true)
|
||||
* @groups({"read"})
|
||||
*/
|
||||
private $postalCodeSource;
|
||||
private ?string $postalCodeSource = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(type="string", length=255, nullable=true)
|
||||
* @groups({"read"})
|
||||
*/
|
||||
private $refPostalCodeId;
|
||||
private ?string $refPostalCodeId = null;
|
||||
|
||||
public function getCenter(): ?Point
|
||||
{
|
||||
|
Reference in New Issue
Block a user