Skip to content

Commit

Permalink
Merge pull request #10 from lamoda/feature/deleteDeprecatedBaseName
Browse files Browse the repository at this point in the history
Delete deprecated field of Correction base_name
  • Loading branch information
DmitriyMatvienko authored Oct 13, 2021
2 parents f979eac + 6de2e6a commit 9b9f7c5
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions src/V4/DTO/Correction/CorrectionInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,11 @@ final class CorrectionInfo
*/
private $baseNumber;

/**
* @var string
*
* @Serializer\Type("string")
* @Serializer\SerializedName("base_name")
*/
private $baseName;

public function __construct(CorrectionType $type, \DateTime $baseDate, string $baseNumber, string $baseName)
public function __construct(CorrectionType $type, \DateTime $baseDate, string $baseNumber)
{
$this->type = $type;
$this->baseDate = $baseDate;
$this->baseNumber = $baseNumber;
$this->baseName = $baseName;
}

public function getType(): CorrectionType
Expand Down Expand Up @@ -83,16 +74,4 @@ public function setBaseNumber(string $baseNumber): self
return $this;
}

public function getBaseName(): string
{
return $this->baseName;
}

public function setBaseName(string $baseName): self
{
$this->baseName = $baseName;

return $this;
}

}

0 comments on commit 9b9f7c5

Please sign in to comment.