Fixed some trailing whitespace

$ shopt -s globstar
 $ sed -i 's/[ \t]*$//' src/pocketmine/*/**.php

:P
This commit is contained in:
Dylan K. Taylor 2017-08-05 21:05:19 +01:00
parent fb59b57bdf
commit ecba80fd63
5 changed files with 7 additions and 7 deletions

View File

@ -61,7 +61,7 @@ class Location extends Position{
/** /**
* Return a Location instance * Return a Location instance
* *
* @return Location * @return Location
*/ */
public function asLocation() : Location{ public function asLocation() : Location{

View File

@ -50,13 +50,13 @@ class Position extends Vector3{
/** /**
* Return a Position instance * Return a Position instance
* *
* @return Position * @return Position
*/ */
public function asPosition() : Position{ public function asPosition() : Position{
return new Position($this->x, $this->y, $this->z, $this->level); return new Position($this->x, $this->y, $this->z, $this->level);
} }
/** /**
* Returns the target Level, or null if the target is not valid. * 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. * If a reference exists to a Level which is closed, the reference will be destroyed and null will be returned.

View File

@ -163,7 +163,7 @@ class Vector3{
/** /**
* Return a Vector3 instance * Return a Vector3 instance
* *
* @return Vector3 * @return Vector3
*/ */
public function asVector3() : Vector3{ public function asVector3() : Vector3{

View File

@ -64,7 +64,7 @@ class Sign extends Spawnable{
return true; return true;
} }
/** /**
* @param int $index 0-3 * @param int $index 0-3
* @param string $line * @param string $line
@ -79,7 +79,7 @@ class Sign extends Spawnable{
$this->onChanged(); $this->onChanged();
} }
} }
/** /**
* @param int $index 0-3 * @param int $index 0-3
* *

View File

@ -29,7 +29,7 @@ class Color{
/** @var int */ /** @var int */
protected $a, $r, $g, $b; protected $a, $r, $g, $b;
public function __construct(int $r, int $g, int $b, int $a = 0xff){ public function __construct(int $r, int $g, int $b, int $a = 0xff){
$this->r = $r & 0xff; $this->r = $r & 0xff;
$this->g = $g & 0xff; $this->g = $g & 0xff;