upgrade php-cs 3.49

This commit is contained in:
2024-02-07 10:43:53 +01:00
parent 51ebc253aa
commit 036fe8d6f8
257 changed files with 605 additions and 605 deletions

View File

@@ -136,7 +136,7 @@ class Event implements HasCenterInterface, HasScopeInterface
return $this->id;
}
public function getModerator(): null|User
public function getModerator(): User|null
{
return $this->moderator;
}

View File

@@ -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();

View File

@@ -125,7 +125,7 @@ class Role
*
* @return Role
*/
public function setType(EventType $type = null)
public function setType(?EventType $type = null)
{
$this->type = $type;

View File

@@ -125,7 +125,7 @@ class Status
*
* @return Status
*/
public function setType(EventType $type = null)
public function setType(?EventType $type = null)
{
$this->type = $type;