Skip to content

Commit

Permalink
Merge branch '4.4' into 5.0
Browse files Browse the repository at this point in the history
* 4.4:
  Fix more quotes in exception messages
  Fix more quotes in exception messages
  [3.4] Minor fixes
  [PropertyAccess] Improved errors when reading uninitialized properties
  • Loading branch information
fabpot committed Mar 16, 2020
2 parents 6ce7528 + 2c22d29 commit e6a5be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cloner/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function count()
public function getIterator()
{
if (!\is_array($value = $this->getValue())) {
throw new \LogicException(sprintf('%s object holds non-iterable type "%s".', self::class, \gettype($value)));
throw new \LogicException(sprintf('"%s" object holds non-iterable type "%s".', self::class, \gettype($value)));
}

yield from $value;
Expand Down

0 comments on commit e6a5be9

Please sign in to comment.