Skip to content

Commit 8a08068

Browse files
committed
Fix failing poggit build
1 parent 59bb993 commit 8a08068

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/cosmicpe/awaitform/AwaitFormException.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

src/cosmicpe/awaitform/Button.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
final 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.

0 commit comments

Comments
 (0)