Skip to content

Commit

Permalink
PHPCS
Browse files Browse the repository at this point in the history
Signed-off-by: Filippo Tessarotto <[email protected]>
  • Loading branch information
Slamdunk committed Dec 1, 2021
1 parent d844fcf commit 724894b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ArrayObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,9 @@ public function __unserialize($data)
throw new UnexpectedValueException(sprintf(
'Cannot deserialize %s instance: invalid iteratorClass; expected string, received %s',
self::class,
is_object($data['iteratorClass']) ? get_class($data['iteratorClass']) : gettype($data['iteratorClass'])
is_object($data['iteratorClass'])
? get_class($data['iteratorClass'])
: gettype($data['iteratorClass'])
));
}
$this->setIteratorClass($data['iteratorClass']);
Expand Down

0 comments on commit 724894b

Please sign in to comment.