fix(continuous-integration): correction php-cs-fixer
All checks were successful
Cadoles/nineskeletor/pipeline/pr-master This commit looks good
All checks were successful
Cadoles/nineskeletor/pipeline/pr-master This commit looks good
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user