Applied fixes from StyleCI

This commit is contained in:
Dominik Liebler
2015-12-21 07:28:20 -05:00
committed by StyleCI Bot
parent 3663603b80
commit fe1f144ec3
167 changed files with 510 additions and 517 deletions

View File

@@ -4,7 +4,6 @@ namespace DesignPatterns\Behavioral\Iterator;
class BookListReverseIterator implements \Iterator
{
/**
* @var BookList
*/
@@ -22,8 +21,10 @@ class BookListReverseIterator implements \Iterator
}
/**
* Return the current book
* Return the current book.
*
* @link http://php.net/manual/en/iterator.current.php
*
* @return Book Can return any type.
*/
public function current()
@@ -33,8 +34,10 @@ class BookListReverseIterator implements \Iterator
/**
* (PHP 5 &gt;= 5.0.0)<br/>
* Move forward to next element
* Move forward to next element.
*
* @link http://php.net/manual/en/iterator.next.php
*
* @return void Any returned value is ignored.
*/
public function next()
@@ -44,8 +47,10 @@ class BookListReverseIterator implements \Iterator
/**
* (PHP 5 &gt;= 5.0.0)<br/>
* Return the key of the current element
* Return the key of the current element.
*
* @link http://php.net/manual/en/iterator.key.php
*
* @return mixed scalar on success, or null on failure.
*/
public function key()
@@ -55,10 +60,12 @@ class BookListReverseIterator implements \Iterator
/**
* (PHP 5 &gt;= 5.0.0)<br/>
* Checks if current position is valid
* Checks if current position is valid.
*
* @link http://php.net/manual/en/iterator.valid.php
* @return boolean The return value will be casted to boolean and then evaluated.
* Returns true on success or false on failure.
*
* @return bool The return value will be casted to boolean and then evaluated.
* Returns true on success or false on failure.
*/
public function valid()
{
@@ -67,8 +74,10 @@ class BookListReverseIterator implements \Iterator
/**
* (PHP 5 &gt;= 5.0.0)<br/>
* Rewind the Iterator to the first element
* Rewind the Iterator to the first element.
*
* @link http://php.net/manual/en/iterator.rewind.php
*
* @return void Any returned value is ignored.
*/
public function rewind()