php cs fixer

This commit is contained in:
nobohan 2021-12-13 12:38:18 +01:00
parent b5178c3be3
commit eaf7ae6f2f
2 changed files with 25 additions and 18 deletions

View File

@ -32,11 +32,6 @@ class Civility
*/
private bool $active = true;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private ?int $order = null;
/**
* @ORM\Id
* @ORM\GeneratedValue
@ -52,6 +47,11 @@ class Civility
*/
private array $name = [];
/**
* @ORM\Column(type="integer", nullable=true)
*/
private ?int $order = null;
public function getAbbreviation(): array
{
return $this->abbreviation;
@ -67,16 +67,16 @@ class Civility
return $this->id;
}
public function getOrder(): ?int
{
return $this->order;
}
public function getName(): ?array
{
return $this->name;
}
public function getOrder(): ?int
{
return $this->order;
}
/**
* @return Civility
*/
@ -94,17 +94,17 @@ class Civility
return $this;
}
public function setOrder(int $order): self
{
$this->order = $order;
return $this;
}
public function setName(array $name): self
{
$this->name = $name;
return $this;
}
public function setOrder(int $order): self
{
$this->order = $order;
return $this;
}
}

View File

@ -1,5 +1,12 @@
<?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);
namespace Chill\Migrations\Main;
@ -8,7 +15,7 @@ use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Add order to civility
* Add order to civility.
*/
final class Version20211213112628 extends AbstractMigration
{