Merged Pull Request Introduce code formatting with PHP-CS-Fixer

This commit is contained in:
Kevin Frantz
2018-09-13 03:29:34 +02:00
42 changed files with 553 additions and 299 deletions

View File

@@ -1,29 +1,28 @@
<?php
namespace App\Entity\Attribut;
use Doctrine\ORM\Mapping as ORM;
/**
*
* @author kevinfrantz
*
*/
trait IdAttribut {
trait IdAttribut
{
/**
* @ORM\Id()
* @ORM\GeneratedValue
* @ORM\Column(type="integer")(strategy="AUTO")
*/
protected $id;
public function setId(int $id): void
{
$this->id = $id;
}
public function getId(): int
{
return $this->id;
}
}