Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoboss committed Dec 5, 2021
1 parent 14d6d62 commit 8a23011
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -164,13 +164,15 @@ public static function getGlobalConstType(
case 'PHP_RELEASE_VERSION':
case 'PHP_DEBUG':
case 'PHP_FLOAT_DIG':
case 'PHP_INT_MAX':
case 'PHP_INT_MIN':
case 'PHP_ZTS':
return Type::getInt();

case 'PHP_INT_MAX':
case 'PHP_INT_SIZE':
case 'PHP_MAXPATHLEN':
case 'PHP_VERSION_ID':
case 'PHP_ZTS':
return Type::getInt();
return Type::getPositiveInt();

case 'PHP_FLOAT_EPSILON':
case 'PHP_FLOAT_MAX':
Expand Down

0 comments on commit 8a23011

Please sign in to comment.