mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-22 14:45:43 +00:00
Rector changes + namespace changes
This commit is contained in:
@@ -161,7 +161,7 @@ class PostalCode implements TrackUpdateInterface, TrackCreationInterface
|
||||
*
|
||||
* @return PostalCode
|
||||
*/
|
||||
public function setCode($code)
|
||||
public function setCode(?string $code)
|
||||
{
|
||||
$this->code = $code;
|
||||
|
||||
@@ -187,7 +187,7 @@ class PostalCode implements TrackUpdateInterface, TrackCreationInterface
|
||||
*
|
||||
* @return PostalCode
|
||||
*/
|
||||
public function setName($name)
|
||||
public function setName(?string $name)
|
||||
{
|
||||
$this->name = $name;
|
||||
|
||||
@@ -197,11 +197,10 @@ class PostalCode implements TrackUpdateInterface, TrackCreationInterface
|
||||
/**
|
||||
* Set origin.
|
||||
*
|
||||
* @param int $origin
|
||||
*
|
||||
* @return PostalCode
|
||||
*/
|
||||
public function setOrigin($origin)
|
||||
public function setOrigin(int $origin)
|
||||
{
|
||||
$this->origin = $origin;
|
||||
|
||||
|
Reference in New Issue
Block a user