- Updates based on code review comments

This commit is contained in:
Vlad
2016-05-17 11:41:59 -04:00
parent 06417c1e88
commit d2a6b6bd4e
3 changed files with 15 additions and 11 deletions

View File

@@ -7,7 +7,7 @@ class Renderer {
public $newsletter;
public $posts;
function __construct($newsletter, $posts = false) {
function __construct(array $newsletter, $posts = false) {
$this->newsletter = $newsletter;
$this->posts = array();
$this->ALC = new \MailPoet\Newsletter\AutomatedLatestContent($this->newsletter['id']);