Skip to content

Commit

Permalink
CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Sep 15, 2023
1 parent c8e0a3a commit 6b82de8
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 28 deletions.
4 changes: 1 addition & 3 deletions bundle/NetgenContentBrowserSyliusBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@

use Symfony\Component\HttpKernel\Bundle\Bundle;

final class NetgenContentBrowserSyliusBundle extends Bundle
{
}
final class NetgenContentBrowserSyliusBundle extends Bundle {}
3 changes: 1 addition & 2 deletions lib/Backend/ProductBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ public function __construct(
private TaxonRepositoryInterface $taxonRepository,
private ProductRepositoryInterface $productRepository,
private LocaleContextInterface $localeContext,
) {
}
) {}

public function getSections(): iterable
{
Expand Down
3 changes: 1 addition & 2 deletions lib/Backend/TaxonBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ final class TaxonBackend implements BackendInterface
public function __construct(
private TaxonRepositoryInterface $taxonRepository,
private LocaleContextInterface $localeContext,
) {
}
) {}

public function getSections(): iterable
{
Expand Down
4 changes: 1 addition & 3 deletions lib/Item/Product/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

final class Item implements ItemInterface, ProductInterface
{
public function __construct(private SyliusProductInterface $product)
{
}
public function __construct(private SyliusProductInterface $product) {}

public function getValue(): int
{
Expand Down
4 changes: 1 addition & 3 deletions lib/Item/Product/Location.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

final class Location implements LocationInterface, TaxonInterface
{
public function __construct(private SyliusTaxonInterface $taxon)
{
}
public function __construct(private SyliusTaxonInterface $taxon) {}

public function getLocationId(): int
{
Expand Down
4 changes: 1 addition & 3 deletions lib/Item/Taxon/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@

final class Item implements ItemInterface, LocationInterface, TaxonInterface
{
public function __construct(private SyliusTaxonInterface $taxon)
{
}
public function __construct(private SyliusTaxonInterface $taxon) {}

public function getLocationId(): int
{
Expand Down
4 changes: 1 addition & 3 deletions tests/lib/Stubs/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

final class Item implements ItemInterface
{
public function __construct(private string $value)
{
}
public function __construct(private string $value) {}

public function getValue(): string
{
Expand Down
4 changes: 1 addition & 3 deletions tests/lib/Stubs/Location.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

final class Location implements LocationInterface
{
public function __construct(private int $id, private ?int $parentId = null)
{
}
public function __construct(private int $id, private ?int $parentId = null) {}

public function getLocationId(): int
{
Expand Down
4 changes: 1 addition & 3 deletions tests/lib/Stubs/ProductTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@

use Sylius\Component\Product\Model\ProductTranslation as BaseProductTranslation;

final class ProductTranslation extends BaseProductTranslation
{
}
final class ProductTranslation extends BaseProductTranslation {}
4 changes: 1 addition & 3 deletions tests/lib/Stubs/TaxonTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@

use Sylius\Component\Taxonomy\Model\TaxonTranslation as BaseTaxonTranslation;

final class TaxonTranslation extends BaseTaxonTranslation
{
}
final class TaxonTranslation extends BaseTaxonTranslation {}

0 comments on commit 6b82de8

Please sign in to comment.