mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 12:04:46 +00:00
phpdoc armageddon for master, pass 1
This commit is contained in:
@@ -51,8 +51,6 @@ class WrittenBook extends WritableBookBase{
|
||||
/**
|
||||
* Returns the generation of the book.
|
||||
* Generations higher than 1 can not be copied.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getGeneration() : int{
|
||||
return $this->generation;
|
||||
@@ -61,8 +59,6 @@ class WrittenBook extends WritableBookBase{
|
||||
/**
|
||||
* Sets the generation of a book.
|
||||
*
|
||||
* @param int $generation
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setGeneration(int $generation) : self{
|
||||
@@ -78,8 +74,6 @@ class WrittenBook extends WritableBookBase{
|
||||
* Returns the author of this book.
|
||||
* This is not a reliable way to get the name of the player who signed this book.
|
||||
* The author can be set to anything when signing a book.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getAuthor() : string{
|
||||
return $this->author;
|
||||
@@ -88,8 +82,6 @@ class WrittenBook extends WritableBookBase{
|
||||
/**
|
||||
* Sets the author of this book.
|
||||
*
|
||||
* @param string $authorName
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAuthor(string $authorName) : self{
|
||||
@@ -100,8 +92,6 @@ class WrittenBook extends WritableBookBase{
|
||||
|
||||
/**
|
||||
* Returns the title of this book.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTitle() : string{
|
||||
return $this->title;
|
||||
@@ -110,8 +100,6 @@ class WrittenBook extends WritableBookBase{
|
||||
/**
|
||||
* Sets the author of this book.
|
||||
*
|
||||
* @param string $title
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTitle(string $title) : self{
|
||||
|
Reference in New Issue
Block a user