mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Event: remove useless @var $this annotations
we are not in a trait here, the scope is always Event.
This commit is contained in:
parent
bc76b1cafe
commit
753a8a6937
@ -56,7 +56,6 @@ abstract class Event{
|
|||||||
throw new \BadMethodCallException(get_class($this) . " is not Cancellable");
|
throw new \BadMethodCallException(get_class($this) . " is not Cancellable");
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @var Event $this */
|
|
||||||
return $this->isCancelled;
|
return $this->isCancelled;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -70,7 +69,6 @@ abstract class Event{
|
|||||||
throw new \BadMethodCallException(get_class($this) . " is not Cancellable");
|
throw new \BadMethodCallException(get_class($this) . " is not Cancellable");
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @var Event $this */
|
|
||||||
$this->isCancelled = $value;
|
$this->isCancelled = $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user