Skip to content

Commit

Permalink
fix interface tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SecondeJK committed Mar 3, 2023
1 parent ef2e013 commit c1ae14a
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/SMS/Message/Binary.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,12 @@ public function getProtocolId(): ?int
{
return $this->protocolId;
}

/**
* @deprecated This will be removed once it comes out of the interface
*/
public function getErrorMessage(): ?string
{
return $this->getWarningMessage();
}
}
8 changes: 8 additions & 0 deletions src/SMS/Message/Vcal.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,12 @@ public function getEvent(): string
{
return $this->event;
}

/**
* @deprecated This will be removed once it comes out of the interface
*/
public function getErrorMessage(): ?string
{
return $this->getWarningMessage();
}
}
8 changes: 8 additions & 0 deletions src/SMS/Message/Vcard.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,12 @@ public function getCard(): string
{
return $this->card;
}

/**
* @deprecated This will be removed once it comes out of the interface
*/
public function getErrorMessage(): ?string
{
return $this->getWarningMessage();
}
}
8 changes: 8 additions & 0 deletions src/SMS/Message/WAPPush.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,12 @@ public function getValidity(): int
{
return $this->validity;
}

/**
* @deprecated This will be removed once it comes out of the interface
*/
public function getErrorMessage(): ?string
{
return $this->getWarningMessage();
}
}

0 comments on commit c1ae14a

Please sign in to comment.