From ecba80fd632893826f7edcffa84bbfb9ad422dca Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 5 Aug 2017 21:05:19 +0100 Subject: [PATCH] Fixed some trailing whitespace $ shopt -s globstar $ sed -i 's/[ \t]*$//' src/pocketmine/*/**.php :P --- src/pocketmine/level/Location.php | 2 +- src/pocketmine/level/Position.php | 4 ++-- src/pocketmine/math/Vector3.php | 2 +- src/pocketmine/tile/Sign.php | 4 ++-- src/pocketmine/utils/Color.php | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pocketmine/level/Location.php b/src/pocketmine/level/Location.php index 3a4dea712..3ce6660f5 100644 --- a/src/pocketmine/level/Location.php +++ b/src/pocketmine/level/Location.php @@ -61,7 +61,7 @@ class Location extends Position{ /** * Return a Location instance - * + * * @return Location */ public function asLocation() : Location{ diff --git a/src/pocketmine/level/Position.php b/src/pocketmine/level/Position.php index ebf925886..5d977b945 100644 --- a/src/pocketmine/level/Position.php +++ b/src/pocketmine/level/Position.php @@ -50,13 +50,13 @@ class Position extends Vector3{ /** * Return a Position instance - * + * * @return Position */ public function asPosition() : Position{ return new Position($this->x, $this->y, $this->z, $this->level); } - + /** * Returns the target Level, or null if the target is not valid. * If a reference exists to a Level which is closed, the reference will be destroyed and null will be returned. diff --git a/src/pocketmine/math/Vector3.php b/src/pocketmine/math/Vector3.php index 67616963c..86dc6bb3d 100644 --- a/src/pocketmine/math/Vector3.php +++ b/src/pocketmine/math/Vector3.php @@ -163,7 +163,7 @@ class Vector3{ /** * Return a Vector3 instance - * + * * @return Vector3 */ public function asVector3() : Vector3{ diff --git a/src/pocketmine/tile/Sign.php b/src/pocketmine/tile/Sign.php index c573cc1a6..88e668e49 100644 --- a/src/pocketmine/tile/Sign.php +++ b/src/pocketmine/tile/Sign.php @@ -64,7 +64,7 @@ class Sign extends Spawnable{ return true; } - + /** * @param int $index 0-3 * @param string $line @@ -79,7 +79,7 @@ class Sign extends Spawnable{ $this->onChanged(); } } - + /** * @param int $index 0-3 * diff --git a/src/pocketmine/utils/Color.php b/src/pocketmine/utils/Color.php index ae2b69fb0..ff1d414dd 100644 --- a/src/pocketmine/utils/Color.php +++ b/src/pocketmine/utils/Color.php @@ -29,7 +29,7 @@ class Color{ /** @var int */ protected $a, $r, $g, $b; - + public function __construct(int $r, int $g, int $b, int $a = 0xff){ $this->r = $r & 0xff; $this->g = $g & 0xff;