Skip to content

Commit

Permalink
[Newsletter] classId param is required (#6750)
Browse files Browse the repository at this point in the history
  • Loading branch information
blankse committed Jul 8, 2020
1 parent 81a15c4 commit 97cd782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Tool/Newsletter.php
Expand Up @@ -276,11 +276,11 @@ public static function sendMail($newsletter, $object, $emailAddress = null, $hos
}

/**
* @param string|null $classId
* @param string $classId
*
* @throws Exception
*/
public function __construct($classId = null)
public function __construct($classId)
{
$class = null;
if (is_numeric($classId)) {
Expand Down

0 comments on commit 97cd782

Please sign in to comment.