mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
Rector changes + namespace changes
This commit is contained in:
@@ -446,7 +446,7 @@ class Address implements TrackCreationInterface, TrackUpdateInterface
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setLinkedToThirdParty($linkedToThirdParty): self
|
||||
public function setLinkedToThirdParty(?\Chill\ThirdPartyBundle\Entity\ThirdParty $linkedToThirdParty): self
|
||||
{
|
||||
$this->linkedToThirdParty = $linkedToThirdParty;
|
||||
|
||||
|
@@ -111,7 +111,7 @@ class Center implements HasCenterInterface, \Stringable
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function setName($name)
|
||||
public function setName(string $name)
|
||||
{
|
||||
$this->name = $name;
|
||||
|
||||
|
@@ -64,7 +64,7 @@ class CommentEmbeddable
|
||||
/**
|
||||
* @param int $userId
|
||||
*/
|
||||
public function setUserId($userId)
|
||||
public function setUserId(?int $userId)
|
||||
{
|
||||
$this->userId = $userId;
|
||||
}
|
||||
|
@@ -57,7 +57,7 @@ class PrivateCommentEmbeddable
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setComments($comments)
|
||||
public function setComments(array $comments)
|
||||
{
|
||||
$this->comments = $comments;
|
||||
|
||||
|
@@ -63,7 +63,7 @@ class Language
|
||||
*
|
||||
* @return Language
|
||||
*/
|
||||
public function setId($id)
|
||||
public function setId(?string $id)
|
||||
{
|
||||
$this->id = $id;
|
||||
|
||||
@@ -77,7 +77,7 @@ class Language
|
||||
*
|
||||
* @return Language
|
||||
*/
|
||||
public function setName($name)
|
||||
public function setName(array $name)
|
||||
{
|
||||
$this->name = $name;
|
||||
|
||||
|
@@ -137,7 +137,7 @@ class PermissionsGroup
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function setName($name)
|
||||
public function setName(string $name)
|
||||
{
|
||||
$this->name = $name;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -432,7 +432,7 @@ class User implements UserInterface, \Stringable, PasswordAuthenticatedUserInter
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function setEmail($email)
|
||||
public function setEmail(?string $email)
|
||||
{
|
||||
$this->email = $email;
|
||||
|
||||
@@ -442,7 +442,7 @@ class User implements UserInterface, \Stringable, PasswordAuthenticatedUserInter
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function setEmailCanonical($emailCanonical)
|
||||
public function setEmailCanonical(?string $emailCanonical)
|
||||
{
|
||||
$this->emailCanonical = $emailCanonical;
|
||||
|
||||
@@ -516,7 +516,7 @@ class User implements UserInterface, \Stringable, PasswordAuthenticatedUserInter
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function setPassword($password)
|
||||
public function setPassword(string $password)
|
||||
{
|
||||
$this->password = $password;
|
||||
|
||||
@@ -526,7 +526,7 @@ class User implements UserInterface, \Stringable, PasswordAuthenticatedUserInter
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function setSalt($salt)
|
||||
public function setSalt(?string $salt)
|
||||
{
|
||||
$this->salt = $salt;
|
||||
|
||||
@@ -588,7 +588,7 @@ class User implements UserInterface, \Stringable, PasswordAuthenticatedUserInter
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function setUsernameCanonical($usernameCanonical)
|
||||
public function setUsernameCanonical(?string $usernameCanonical)
|
||||
{
|
||||
$this->usernameCanonical = $usernameCanonical;
|
||||
|
||||
|
Reference in New Issue
Block a user