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

Commit

Permalink
Merge remote-tracking branch 'prolic/tag'
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Cloud/Decorator/HtmlCloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ public function getSeparator()
* Defined by Zend\Tag\Cloud\Decorator\Cloud
*
* @param array $tags
* @throws InvalidArgumentException
* @throws Exception\InvalidArgumentException
* @return string
*/
public function render($tags)
{
if (!is_array($tags)) {
throw new InvalidArgumentException(sprintf(
throw new Exception\InvalidArgumentException(sprintf(
'HtmlCloud::render() expects an array argument; received "%s"',
(is_object($tags) ? get_class($tags) : gettype($tags))
));
Expand Down

0 comments on commit e63ad13

Please sign in to comment.