mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
new cs rule: single_line_empty_body
Rule is added to the last version of php-cs-fixer
This commit is contained in:
@@ -15,9 +15,7 @@ use Chill\MainBundle\Pagination\PaginatorInterface;
|
||||
|
||||
class Collection
|
||||
{
|
||||
public function __construct(private $items, private readonly PaginatorInterface $paginator)
|
||||
{
|
||||
}
|
||||
public function __construct(private $items, private readonly PaginatorInterface $paginator) {}
|
||||
|
||||
public function getItems()
|
||||
{
|
||||
|
@@ -15,9 +15,7 @@ use JsonSerializable;
|
||||
|
||||
class Counter implements JsonSerializable
|
||||
{
|
||||
public function __construct(private ?int $counter)
|
||||
{
|
||||
}
|
||||
public function __construct(private ?int $counter) {}
|
||||
|
||||
public function getCounter(): ?int
|
||||
{
|
||||
|
Reference in New Issue
Block a user