Wrongly message about underfined $data in last line

   public function addData($data) {
        if (isset($data) && !is_array($data)) {
            $data = array($data);
        }
        $this->data = Set::merge($this->data, $data);
    }

Please sign in to leave a comment.