mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 15:06:31 +02:00
cs fix
This commit is contained in:
@@ -13,7 +13,7 @@ class BookList implements \Countable
|
||||
return $this->books[$bookNumberToGet];
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return null;
|
||||
}
|
||||
|
||||
public function addBook(Book $book)
|
||||
|
@@ -74,4 +74,4 @@ class BookListIterator implements \Iterator
|
||||
{
|
||||
$this->currentBook = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -20,4 +20,4 @@ class BookListReverseIterator extends BookListIterator
|
||||
{
|
||||
return 0 <= $this->currentBook;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -63,4 +63,4 @@ class IteratorTest extends \PHPUnit_Framework_TestCase
|
||||
$iterator->next();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user