Skip to content

Commit

Permalink
fix: sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmzig committed Dec 10, 2024
1 parent 34202b6 commit ad2d418
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/Metadata/MappedParameter/PredefinedMetadataParameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,19 @@
final readonly class PredefinedMetadataParameter
{
public function __construct(
private ?string $subType = null,
private string $group,
private ?string $subType = null,
) {
}

public function getSubType(): ?string
public function getGroup(): string
{
return $this->subType;
return $this->group;
}

public function getGroup(): string
public function getSubType(): ?string
{
return $this->group;
return $this->subType;
}

}

0 comments on commit ad2d418

Please sign in to comment.