Skip to content

Commit

Permalink
Deprecate SourceIteratorInterface (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored Sep 30, 2021
1 parent 7ba019d commit 8fe9b79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Source/SourceIteratorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
namespace Sonata\Exporter\Source;

/**
* NEXT_MAJOR: Remove this interface.
*
* @deprecated since 2.x use \Iterator instead.
*
* @phpstan-extends \Iterator<array<mixed>>
*/
interface SourceIteratorInterface extends \Iterator
Expand Down

0 comments on commit 8fe9b79

Please sign in to comment.