Applied php-cs-fixer and added some @PHPDoc

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely POLONKAI
2012-08-17 16:18:43 +02:00
parent 4772fd2273
commit aed588e5e2
42 changed files with 479 additions and 349 deletions

View File

@@ -90,13 +90,14 @@ class BookCopy
/**
* Set borrowable
*
* @param boolean $borrowable
* @param boolean $borrowable
* @return BookCopy
*/
public function setBorrowable($borrowable)
{
// TODO: Check if parameter is boolean!
$this->borrowable = $borrowable;
return $this;
}
@@ -122,13 +123,14 @@ class BookCopy
/**
* Set buyable
*
* @param boolean $buyable
* @param boolean $buyable
* @return BookCopy
*/
public function setBuyable($buyable)
{
// Check if parameter is boolean!
$this->buyable = $buyable;
return $this;
}