Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'simon-liu/fix/ZF2-271'
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ public function setParams($params)
{
if (!is_array($params) && !is_object($params)) {
throw new Exception\InvalidArgumentException(sprintf(
'Event parameters must be an array or object; received "%s"',
(is_object($params) ? get_class($params) : gettype($params))
'Event parameters must be an array or object; received "%s"', gettype($params)
));
}

Expand Down

0 comments on commit 87c797f

Please # to comment.