Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
Remove deprected methods from NamedEntity
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Oct 27, 2020
1 parent 039816d commit ec2a8cb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 65 deletions.
5 changes: 0 additions & 5 deletions src/Common/Concerns/NamedEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,4 @@
*/
interface NamedEntity
{
/** @deprecated */
public function getId(): int;

/** @deprecated */
public function getName(): string;
}
20 changes: 0 additions & 20 deletions src/Common/NamedEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,26 +59,6 @@ final class NamedEntity implements Concerns\NamedEntity
*/
private $name;

/**
* @codeCoverageIgnore
*
* @deprecated
*/
public function getId(): int
{
return $this->id;
}

/**
* @codeCoverageIgnore
*
* @deprecated
*/
public function getName(): string
{
return $this->name;
}

/**
* @phan-suppress PhanAccessReadOnlyMagicProperty
*/
Expand Down
20 changes: 0 additions & 20 deletions src/Responses/Types/DeliveryOption/Partner.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,24 +77,4 @@ final class Partner implements NamedEntity
* @var string
*/
private $logoUrl;

/**
* @codeCoverageIgnore
*
* @deprecated
*/
public function getId(): int
{
return $this->id;
}

/**
* @codeCoverageIgnore
*
* @deprecated
*/
public function getName(): string
{
return $this->name;
}
}
20 changes: 0 additions & 20 deletions src/Responses/Types/DeliveryService/Warehouse.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,4 @@ final class Warehouse implements NamedEntity
* @var string
*/
private $address;

/**
* @codeCoverageIgnore
*
* @deprecated
*/
public function getId(): int
{
return $this->id;
}

/**
* @codeCoverageIgnore
*
* @deprecated
*/
public function getName(): string
{
return $this->name;
}
}

0 comments on commit ec2a8cb

Please sign in to comment.