Skip to content

Commit

Permalink
coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 11, 2018
1 parent b1acca3 commit fd87fe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Iterators/Mapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

namespace Nette\Iterators;

use Nette;


/**
Expand Down
4 changes: 2 additions & 2 deletions tests/Iterators/Mapper.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ $iterator = new Iterators\Mapper(new \ArrayIterator($arr), $callback);

$iterator->rewind();
Assert::true($iterator->valid());
assert::same('Nette: Framework', $iterator->current());
Assert::same('Nette: Framework', $iterator->current());

$iterator->next();
Assert::true($iterator->valid());
assert::same('David: Grudl', $iterator->current());
Assert::same('David: Grudl', $iterator->current());

$iterator->next();
Assert::false($iterator->valid());

0 comments on commit fd87fe8

Please sign in to comment.