Removed returns on addBook and removeBook

This commit is contained in:
Hassan Althaf
2015-12-18 14:39:31 +05:30
parent 92ad5efca6
commit 593d9bb1a4

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()