Skip to content

Commit

Permalink
Merge pull request #541 from hnassr/fix-aplus-error-set-message
Browse files Browse the repository at this point in the history
remove no message exception
  • Loading branch information
jlevers committed May 16, 2023
2 parents 2f6b552 + e9a2800 commit 6f25fd3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/Model/AplusContentV20201101/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,6 @@ public function getMessage()
*/
public function setMessage($message)
{

if ((mb_strlen($message) < 1)) {
throw new \InvalidArgumentException('invalid length for $message when calling Error., must be bigger than or equal to 1.');
}

$this->container['message'] = $message;

return $this;
Expand Down

0 comments on commit 6f25fd3

Please sign in to comment.