Skip to content

Commit

Permalink
Fix up doc blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Dec 16, 2017
1 parent ec32a90 commit 70f78f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Event/Event.php
Expand Up @@ -27,7 +27,7 @@ class Event implements EventInterface
/**
* The object this event applies to (usually the same object that generates the event)
*
* @var object
* @var object|null
*/
protected $_subject;

Expand Down Expand Up @@ -71,8 +71,8 @@ class Event implements EventInterface
public function __construct($name, $subject = null, $data = null)
{
$this->_name = $name;
$this->_data = (array)$data;
$this->_subject = $subject;
$this->_data = (array)$data;
}

/**
Expand Down

0 comments on commit 70f78f2

Please sign in to comment.