Skip to content

Commit 4ca81a3

Browse files
committed
Fixed some class documentation.
1 parent 353c425 commit 4ca81a3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/EventHandler.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ interface EventHandler
1010
* Called when an event is published that is handled by this class.
1111
*
1212
* @param Game $g The game.
13-
* @param string $event Name of this event.
14-
* @param array $context Arbitrary dictionary representing context around this event.
15-
* @return array|null Return an array if you want to make changes to the $context before
13+
* @param EventContext $context Arbitrary dictionary representing context around this event.
14+
* @return EventContext Return an array if you want to make changes to the $context before
1615
* the next handler is called. Otherwise, return null. Any changes made will be propogated
1716
* to the event publisher as well.
1817
*/

src/Models/CharacterStats/CharacterStatInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public function setValue($value);
4848
public function getValueAsString(): string;
4949

5050
/**
51-
* @param $weight
5251
* @return int
5352
*/
5453
public function getWeight(): int;

0 commit comments

Comments
 (0)