Skip to content

Commit

Permalink
Additional content can be ez or site api
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Blazek committed Nov 24, 2016
1 parent 7601731 commit 32e44d4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Event/InformationCollected.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class InformationCollected extends Event
protected $data;

/**
* @var Content
* @var Content|null
*/
protected $additionalContent;

Expand All @@ -27,7 +27,7 @@ class InformationCollected extends Event
* @param DataWrapper $data
* @param Content $additionalContent
*/
public function __construct(DataWrapper $data, Content $additionalContent = null)
public function __construct(DataWrapper $data, $additionalContent = null)
{
$this->data = $data;
$this->additionalContent = $additionalContent;
Expand Down Expand Up @@ -65,11 +65,10 @@ public function getLocation()

/**
* Returns additional content
*
* @return Content
* This can be ez content or site api content
*/
public function getAdditionalContent()
{
return $this->additionalContent;
}
}
}

0 comments on commit 32e44d4

Please sign in to comment.