Merge pull request #196 from HassanAlthaf/patch-2

Removed returns on `addBook` and `removeBook`
This commit is contained in:
Dominik Liebler
2015-12-18 10:18:43 +01:00

View File

@@ -19,8 +19,6 @@ class BookList implements \Countable
public function addBook(Book $book)
{
$this->books[] = $book;
return $this->count();
}
public function removeBook(Book $bookToRemove)
@@ -31,8 +29,6 @@ class BookList implements \Countable
unset($this->books[$key]);
}
}
return $this->count();
}
public function count()