Fixed some class documentation.

This commit is contained in:
Basilius Sauter
2019-04-05 13:19:33 +02:00
parent 353c4251c4
commit 4ca81a3789
2 changed files with 2 additions and 4 deletions
+2 -3
View File
@@ -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.
*/
@@ -48,7 +48,6 @@ interface CharacterStatInterface
public function getValueAsString(): string;
/**
* @param $weight
* @return int
*/
public function getWeight(): int;