Skip to content

Commit

Permalink
Fixed some class documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vassyli committed Apr 5, 2019
1 parent 353c425 commit 4ca81a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/EventHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
1 change: 0 additions & 1 deletion src/Models/CharacterStats/CharacterStatInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public function setValue($value);
public function getValueAsString(): string;

/**
* @param $weight
* @return int
*/
public function getWeight(): int;
Expand Down

0 comments on commit 4ca81a3

Please sign in to comment.