mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 13:54:59 +00:00
upgrade php-cs 3.49
This commit is contained in:
@@ -83,7 +83,7 @@ class Participation implements \ArrayAccess, HasCenterInterface, HasScopeInterfa
|
||||
/**
|
||||
* Get event.
|
||||
*/
|
||||
public function getEvent(): null|Event
|
||||
public function getEvent(): Event|null
|
||||
{
|
||||
return $this->event;
|
||||
}
|
||||
@@ -121,7 +121,7 @@ class Participation implements \ArrayAccess, HasCenterInterface, HasScopeInterfa
|
||||
/**
|
||||
* Get role.
|
||||
*/
|
||||
public function getRole(): null|Role
|
||||
public function getRole(): Role|null
|
||||
{
|
||||
return $this->role;
|
||||
}
|
||||
@@ -141,7 +141,7 @@ class Participation implements \ArrayAccess, HasCenterInterface, HasScopeInterfa
|
||||
/**
|
||||
* Get status.
|
||||
*/
|
||||
public function getStatus(): null|Status
|
||||
public function getStatus(): Status|null
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
@@ -233,7 +233,7 @@ class Participation implements \ArrayAccess, HasCenterInterface, HasScopeInterfa
|
||||
*
|
||||
* @return Participation
|
||||
*/
|
||||
public function setEvent(Event $event = null)
|
||||
public function setEvent(?Event $event = null)
|
||||
{
|
||||
if ($this->event !== $event) {
|
||||
$this->update();
|
||||
@@ -249,7 +249,7 @@ class Participation implements \ArrayAccess, HasCenterInterface, HasScopeInterfa
|
||||
*
|
||||
* @return Participation
|
||||
*/
|
||||
public function setPerson(Person $person = null)
|
||||
public function setPerson(?Person $person = null)
|
||||
{
|
||||
if ($person !== $this->person) {
|
||||
$this->update();
|
||||
@@ -265,7 +265,7 @@ class Participation implements \ArrayAccess, HasCenterInterface, HasScopeInterfa
|
||||
*
|
||||
* @return Participation
|
||||
*/
|
||||
public function setRole(Role $role = null)
|
||||
public function setRole(?Role $role = null)
|
||||
{
|
||||
if ($role !== $this->role) {
|
||||
$this->update();
|
||||
@@ -280,7 +280,7 @@ class Participation implements \ArrayAccess, HasCenterInterface, HasScopeInterfa
|
||||
*
|
||||
* @return Participation
|
||||
*/
|
||||
public function setStatus(Status $status = null)
|
||||
public function setStatus(?Status $status = null)
|
||||
{
|
||||
if ($this->status !== $status) {
|
||||
$this->update();
|
||||
|
Reference in New Issue
Block a user