mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
php cs fixer
This commit is contained in:
parent
b5178c3be3
commit
eaf7ae6f2f
@ -32,11 +32,6 @@ class Civility
|
|||||||
*/
|
*/
|
||||||
private bool $active = true;
|
private bool $active = true;
|
||||||
|
|
||||||
/**
|
|
||||||
* @ORM\Column(type="integer", nullable=true)
|
|
||||||
*/
|
|
||||||
private ?int $order = null;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ORM\Id
|
* @ORM\Id
|
||||||
* @ORM\GeneratedValue
|
* @ORM\GeneratedValue
|
||||||
@ -52,6 +47,11 @@ class Civility
|
|||||||
*/
|
*/
|
||||||
private array $name = [];
|
private array $name = [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ORM\Column(type="integer", nullable=true)
|
||||||
|
*/
|
||||||
|
private ?int $order = null;
|
||||||
|
|
||||||
public function getAbbreviation(): array
|
public function getAbbreviation(): array
|
||||||
{
|
{
|
||||||
return $this->abbreviation;
|
return $this->abbreviation;
|
||||||
@ -67,16 +67,16 @@ class Civility
|
|||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getOrder(): ?int
|
|
||||||
{
|
|
||||||
return $this->order;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getName(): ?array
|
public function getName(): ?array
|
||||||
{
|
{
|
||||||
return $this->name;
|
return $this->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getOrder(): ?int
|
||||||
|
{
|
||||||
|
return $this->order;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Civility
|
* @return Civility
|
||||||
*/
|
*/
|
||||||
@ -94,17 +94,17 @@ class Civility
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setOrder(int $order): self
|
|
||||||
{
|
|
||||||
$this->order = $order;
|
|
||||||
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setName(array $name): self
|
public function setName(array $name): self
|
||||||
{
|
{
|
||||||
$this->name = $name;
|
$this->name = $name;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setOrder(int $order): self
|
||||||
|
{
|
||||||
|
$this->order = $order;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Chill is a software for social workers
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view
|
||||||
|
* the LICENSE file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Chill\Migrations\Main;
|
namespace Chill\Migrations\Main;
|
||||||
@ -8,7 +15,7 @@ use Doctrine\DBAL\Schema\Schema;
|
|||||||
use Doctrine\Migrations\AbstractMigration;
|
use Doctrine\Migrations\AbstractMigration;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add order to civility
|
* Add order to civility.
|
||||||
*/
|
*/
|
||||||
final class Version20211213112628 extends AbstractMigration
|
final class Version20211213112628 extends AbstractMigration
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user