Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jul 29, 2024
1 parent df3e80c commit 07d33fb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions src/Attribute/Parameter/CollectionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ final class CollectionResolver implements ParameterAttributeResolverInterface
public function getParameterValue(
ParameterAttributeInterface $attribute,
ParameterAttributeResolveContext $context,
): Result
{
): Result {
if (!$attribute instanceof Collection) {
throw new UnexpectedAttributeException(Collection::class, $attribute);
}
Expand Down
3 changes: 1 addition & 2 deletions tests/Support/Classes/Chart/Chart.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ public function __construct(
#[Collection(Point::class)]
private array $points = [],
// private ?Point $point = null,
)
{
) {
}

public function getPoints(): array
Expand Down
3 changes: 1 addition & 2 deletions tests/Support/Classes/Chart/ChartSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ final class ChartSet
public function __construct(
#[Collection(Chart::class)]
private array $charts = [],
)
{
) {
}

public function getCharts(): array
Expand Down
3 changes: 1 addition & 2 deletions tests/Support/Classes/Chart/Coordinates.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ final class Coordinates
public function __construct(
private int $x,
private int $y,
)
{
) {
}

public function getX(): int
Expand Down
3 changes: 1 addition & 2 deletions tests/Support/Classes/Chart/Point.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ final class Point
public function __construct(
private Coordinates $coordinates,
private array $rgb,
)
{
) {
}

public function getCoordinates(): Coordinates
Expand Down

0 comments on commit 07d33fb

Please sign in to comment.