Skip to content

Commit

Permalink
Fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 committed Nov 7, 2021
1 parent ca99973 commit ef123f5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Exporter/DataSource.php
Expand Up @@ -21,6 +21,13 @@

final class DataSource implements DataSourceInterface
{
/**
* NEXT_MAJOR: Return \Iterator instead.
*
* @psalm-suppress DeprecatedClass
*
* @see https://github.com/sonata-project/exporter/pull/532
*/
public function createIterator(BaseProxyQueryInterface $query, array $fields): SourceIteratorInterface
{
if (!$query instanceof ProxyQueryInterface) {
Expand Down

0 comments on commit ef123f5

Please sign in to comment.