mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 22:04:59 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user