Skip to content

Commit

Permalink
Merge pull request doctrine#8505 from dbu/patch-1
Browse files Browse the repository at this point in the history
fix typo in changelog
  • Loading branch information
greg0ire committed Feb 23, 2021
2 parents a70c73a + 9d2e67b commit 57e6ba2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ since `Doctrine\DBAL\Connection#commit()` signature changed from returning void

## Deprecated: `Doctrine\ORM\AbstractQuery#iterator()`

The method `Doctrine\ORM\AbstractQuery#iterator()` is deprecated in favor of `Doctrine\ORM\AbstractQuery#toIterate()`.
The method `Doctrine\ORM\AbstractQuery#iterator()` is deprecated in favor of `Doctrine\ORM\AbstractQuery#toIterable()`.
Note that `toIterable()` yields results of the query, unlike `iterator()` which yielded each result wrapped into an array.

# Upgrade to 2.7

Expand Down

0 comments on commit 57e6ba2

Please sign in to comment.