File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,19 @@ final class AwaitFormException extends RuntimeException{
1313 * Thrown when player sent form data that is incorrectly structured
1414 * or contains invalid values.
1515 */
16- public const int ERR_VALIDATION_FAILED = 100001 ;
16+ public const ERR_VALIDATION_FAILED = 100001 ;
1717
1818 /**
1919 * Thrown when player rejects answering the form. This could be due
2020 * to the player closing the form or being "busy".
2121 * {@see ModalFormResponsePacket::CANCEL_REASON_CLOSED}
2222 * {@see ModalFormResponsePacket::CANCEL_REASON_USER_BUSY}
2323 */
24- public const int ERR_PLAYER_REJECTED = 100002 ;
24+ public const ERR_PLAYER_REJECTED = 100002 ;
2525
2626 /**
2727 * Thrown when player quits the server and therefore does not give
2828 * a response.
2929 */
30- public const int ERR_PLAYER_QUIT = 100003 ;
30+ public const ERR_PLAYER_QUIT = 100003 ;
3131}
Original file line number Diff line number Diff line change 66
77final class Button{
88
9- public const string IMAGE_TYPE_PATH = "path " ;
10- public const string IMAGE_TYPE_URL = "url " ;
9+ public const IMAGE_TYPE_PATH = "path " ;
10+ public const IMAGE_TYPE_URL = "url " ;
1111
1212 /**
1313 * Creates a button with text and no image.
You can’t perform that action at this time.
0 commit comments