new cs rule: single_line_empty_body

Rule is added to the last version of php-cs-fixer
This commit is contained in:
2023-09-12 15:58:59 +02:00
parent b9231a91a3
commit d2323e91ca
606 changed files with 639 additions and 1804 deletions

View File

@@ -45,9 +45,7 @@ class TimelineBuilder implements ContainerAwareInterface
*/
private array $providersByContext = [];
public function __construct(private readonly EntityManagerInterface $em)
{
}
public function __construct(private readonly EntityManagerInterface $em) {}
/**
* add a provider id.

View File

@@ -17,9 +17,7 @@ class TimelineSingleQuery
{
private bool $distinct = false;
public function __construct(private ?string $id = null, private ?string $date = null, private ?string $key = null, private ?string $from = null, private ?string $where = null, private array $parameters = [])
{
}
public function __construct(private ?string $id = null, private ?string $date = null, private ?string $key = null, private ?string $from = null, private ?string $where = null, private array $parameters = []) {}
public function buildSql(): string
{