From fd87fe87844b74dd9ddbe7580dbedaa8c0d74505 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Sun, 11 Feb 2018 20:05:54 +0100 Subject: [PATCH] coding style --- src/Iterators/Mapper.php | 1 - tests/Iterators/Mapper.phpt | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Iterators/Mapper.php b/src/Iterators/Mapper.php index 373840da2..fec8086d0 100644 --- a/src/Iterators/Mapper.php +++ b/src/Iterators/Mapper.php @@ -9,7 +9,6 @@ namespace Nette\Iterators; -use Nette; /** diff --git a/tests/Iterators/Mapper.phpt b/tests/Iterators/Mapper.phpt index 6d429360b..c521e8d0e 100644 --- a/tests/Iterators/Mapper.phpt +++ b/tests/Iterators/Mapper.phpt @@ -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());