diff --git a/src/EventHandler.php b/src/EventHandler.php index 1feaf6f..b239612 100644 --- a/src/EventHandler.php +++ b/src/EventHandler.php @@ -10,9 +10,8 @@ interface EventHandler * Called when an event is published that is handled by this class. * * @param Game $g The game. - * @param string $event Name of this event. - * @param array $context Arbitrary dictionary representing context around this event. - * @return array|null Return an array if you want to make changes to the $context before + * @param EventContext $context Arbitrary dictionary representing context around this event. + * @return EventContext Return an array if you want to make changes to the $context before * the next handler is called. Otherwise, return null. Any changes made will be propogated * to the event publisher as well. */ diff --git a/src/Models/CharacterStats/CharacterStatInterface.php b/src/Models/CharacterStats/CharacterStatInterface.php index 3a0832d..33943ad 100644 --- a/src/Models/CharacterStats/CharacterStatInterface.php +++ b/src/Models/CharacterStats/CharacterStatInterface.php @@ -48,7 +48,6 @@ interface CharacterStatInterface public function getValueAsString(): string; /** - * @param $weight * @return int */ public function getWeight(): int;