Skip to content

Commit cf675af

Browse files
committed
Fix classic beta
1 parent 9ae5955 commit cf675af

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/classic_beta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: classic_ptr
1+
name: classic_beta
22

33
on:
44
workflow_dispatch:

src/KeyValueTypeEnum.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
enum KeyValueTypeEnum: string
88
{
99
case NUMBER = 'number';
10+
case INT = 'int';
1011
case STRING = 'string';
1112
case BOOLEAN = 'boolean';
1213
case GLOBAL = 'global';
@@ -15,7 +16,7 @@ enum KeyValueTypeEnum: string
1516
public function luaType(): string
1617
{
1718
return match ($this) {
18-
self::NUMBER => 'number',
19+
self::NUMBER, self::INT => 'number', // presumably int works and is treated as number
1920
self::STRING => 'string',
2021
self::BOOLEAN => 'boolean',
2122
self::GLOBAL => 'any',

0 commit comments

Comments
 (0)