From 753a8a693773c248c8409b0264fb88d11b0e6e6c Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 4 Dec 2019 10:15:04 +0000 Subject: [PATCH] Event: remove useless @var $this annotations we are not in a trait here, the scope is always Event. --- src/pocketmine/event/Event.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pocketmine/event/Event.php b/src/pocketmine/event/Event.php index 015cdaafda..b2c0b9deed 100644 --- a/src/pocketmine/event/Event.php +++ b/src/pocketmine/event/Event.php @@ -56,7 +56,6 @@ abstract class Event{ throw new \BadMethodCallException(get_class($this) . " is not Cancellable"); } - /** @var Event $this */ return $this->isCancelled; } @@ -70,7 +69,6 @@ abstract class Event{ throw new \BadMethodCallException(get_class($this) . " is not Cancellable"); } - /** @var Event $this */ $this->isCancelled = $value; }