fix(continuous-integration): correction php-cs-fixer
All checks were successful
Cadoles/nineskeletor/pipeline/pr-master This commit looks good

This commit is contained in:
2022-09-23 16:14:15 +02:00
parent 5f3cc51f5c
commit b78f54b76c
70 changed files with 5943 additions and 5549 deletions

View File

@ -2,12 +2,10 @@
namespace App\Entity;
use App\Repository\ConfigRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* Cron
* Cron.
*
* @ORM\Table(name="config")
* @ORM\HasLifecycleCallbacks()
@ -75,8 +73,8 @@ class Config
*/
private $help;
//== CODE A NE PAS REGENERER
// == CODE A NE PAS REGENERER
public function setId(string $id): self
{
$this->id = $id;
@ -86,18 +84,20 @@ class Config
public function getValue(): ?string
{
if($this->value=="") return $this->default;
else return $this->value;
if ('' == $this->value) {
return $this->default;
} else {
return $this->value;
}
}
//== FIN DU CODE A NE PAS REGENERER
// == FIN DU CODE A NE PAS REGENERER
public function getId(): ?string
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;