Skip to content

Commit cfb0b56

Browse files
committed
Make IntType constants public
(cherry picked from commit adff917)
1 parent 8df24df commit cfb0b56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Type/Definition/IntType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class IntType extends ScalarType
2424
//
2525
// n.b. JavaScript's integers are safe between -(2^53 - 1) and 2^53 - 1 because
2626
// they are internally represented as IEEE 754 doubles.
27-
private const MAX_INT = 2147483647;
28-
private const MIN_INT = -2147483648;
27+
public const MAX_INT = 2147483647;
28+
public const MIN_INT = -2147483648;
2929

3030
/** @var string */
3131
public $name = Type::INT;

0 commit comments

Comments
 (0)