Skip to content

Commit

Permalink
feat(iterators): remove final
Browse files Browse the repository at this point in the history
  • Loading branch information
h4kuna committed Jan 15, 2025
1 parent 5783e3b commit fcd9e1e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Iterators/ActiveWait.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use h4kuna\DataType\Date\Sleep;

final class ActiveWait
class ActiveWait
{

public function __construct(
Expand Down
2 changes: 1 addition & 1 deletion src/Iterators/CsvIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* @implements IteratorAggregate<int, array<string>>
*/
final class CsvIterator implements IteratorAggregate
class CsvIterator implements IteratorAggregate
{
/** @var TextIterator<string|non-empty-string> */
private TextIterator $textIterator;
Expand Down
2 changes: 1 addition & 1 deletion src/Iterators/FlattenArrayIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @example new \RecursiveIteratorIterator(new FlattenArrayIterator($data));
* @implements RecursiveIterator<string, mixed>
*/
final class FlattenArrayIterator implements RecursiveIterator
class FlattenArrayIterator implements RecursiveIterator
{

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Iterators/FlattenArrayRecursiveIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @extends RecursiveIteratorIterator<FlattenArrayIterator>
*/
final class FlattenArrayRecursiveIterator extends RecursiveIteratorIterator
class FlattenArrayRecursiveIterator extends RecursiveIteratorIterator
{

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Iterators/ReverseIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @template TValue=mixed
* @implements Iterator<TKey, TValue>
*/
final class ReverseIterator implements Iterator
class ReverseIterator implements Iterator
{
/**
* @var TKey
Expand Down
2 changes: 1 addition & 1 deletion src/Iterators/TextIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @implements IteratorAggregate<int, TValue>
* @phpstan-type VIterable array<scalar|null>|SplFileObject
*/
final class TextIterator implements IteratorAggregate
class TextIterator implements IteratorAggregate
{
public const NoSetup = 0;
public const KeepEmptyLine = 1;
Expand Down

0 comments on commit fcd9e1e

Please sign in to comment.