File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments