Skip to content

Commit c0a6fc9

Browse files
author
Jamie Hannaford
committed
add aliases
1 parent 9043d99 commit c0a6fc9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Common/Api/AbstractParams.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ abstract class AbstractParams
1414
// types
1515
const STRING_TYPE = "string";
1616
const BOOL_TYPE = "boolean";
17+
const BOOLEAN_TYPE = self::BOOL_TYPE;
1718
const OBJECT_TYPE = "object";
1819
const ARRAY_TYPE = "array";
1920
const NULL_TYPE = "NULL";
2021
const INT_TYPE = 'integer';
22+
const INTEGER_TYPE = self::INT_TYPE;
2123

2224
public static function isSupportedLocation($val)
2325
{

0 commit comments

Comments
 (0)