Fixed some class documentation.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user