apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -17,28 +17,30 @@ use Doctrine\ORM\Mapping as ORM;
* Class Status.
*
* @ORM\Entity
*
* @ORM\Table(name="chill_event_status")
*
* @ORM\HasLifecycleCallbacks
*/
class Status
{
/**
* @var bool
* @ORM\Column(type="boolean", nullable=false)
*/
private bool $active = true;
/**
* @var int
*
* @ORM\Id
*
* @ORM\Column(name="id", type="integer")
*
* @ORM\GeneratedValue(strategy="AUTO")
*/
private ?int $id = null;
/**
* @var array
*
* @ORM\Column(type="json")
*/
private $name;
@@ -121,11 +123,9 @@ class Status
/**
* Set type.
*
* @param EventType $type
*
* @return Status
*/
public function setType(?EventType $type = null)
public function setType(EventType $type = null)
{
$this->type = $type;