diff options
author | Remi Collet <remi@remirepo.net> | 2020-02-04 07:50:00 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-02-04 07:50:00 +0100 |
commit | 483932783561752f0add0693b8b221a2fd09246e (patch) | |
tree | 2ba35ca0d1fd18976f8713b7512afaa93e14f66b /REFLECTION | |
parent | 84ceb02f23978cbe803b818fc74b595956bae57d (diff) |
update to 1.3.1
drop patch merged upstream
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 85 |
1 files changed, 47 insertions, 38 deletions
@@ -1,22 +1,22 @@ -Extension [ <persistent> extension #86 decimal version 1.3.0 ] { +Extension [ <persistent> extension #109 decimal version 1.3.1 ] { - Classes [1] { Class [ <internal:decimal> final class Decimal\Decimal implements JsonSerializable ] { - Constants [13] { - Constant [ public integer ROUND_UP ] { 101 } - Constant [ public integer ROUND_DOWN ] { 102 } - Constant [ public integer ROUND_CEILING ] { 103 } - Constant [ public integer ROUND_FLOOR ] { 104 } - Constant [ public integer ROUND_HALF_UP ] { 105 } - Constant [ public integer ROUND_HALF_DOWN ] { 106 } - Constant [ public integer ROUND_HALF_EVEN ] { 107 } - Constant [ public integer ROUND_HALF_ODD ] { 108 } - Constant [ public integer ROUND_TRUNCATE ] { 109 } - Constant [ public integer DEFAULT_PRECISION ] { 28 } - Constant [ public integer DEFAULT_ROUNDING ] { 107 } - Constant [ public integer MIN_PRECISION ] { 1 } - Constant [ public integer MAX_PRECISION ] { 999999999999999999 } + Constant [ public int ROUND_UP ] { 101 } + Constant [ public int ROUND_DOWN ] { 102 } + Constant [ public int ROUND_CEILING ] { 103 } + Constant [ public int ROUND_FLOOR ] { 104 } + Constant [ public int ROUND_HALF_UP ] { 105 } + Constant [ public int ROUND_HALF_DOWN ] { 106 } + Constant [ public int ROUND_HALF_EVEN ] { 107 } + Constant [ public int ROUND_HALF_ODD ] { 108 } + Constant [ public int ROUND_TRUNCATE ] { 109 } + Constant [ public int DEFAULT_PRECISION ] { 28 } + Constant [ public int DEFAULT_ROUNDING ] { 107 } + Constant [ public int MIN_PRECISION ] { 1 } + Constant [ public int MAX_PRECISION ] { 999999999999999999 } } - Static properties [0] { @@ -27,7 +27,7 @@ Extension [ <persistent> extension #86 decimal version 1.3.0 ] { - Parameters [2] { Parameter #0 [ <required> $values ] - Parameter #1 [ <optional> integer or NULL $precision ] + Parameter #1 [ <optional> int or NULL $precision ] } - Return [ Decimal\Decimal ] } @@ -36,7 +36,7 @@ Extension [ <persistent> extension #86 decimal version 1.3.0 ] { - Parameters [2] { Parameter #0 [ <required> $values ] - Parameter #1 [ <optional> integer or NULL $precision ] + Parameter #1 [ <optional> int or NULL $precision ] } - Return [ Decimal\Decimal ] } @@ -45,12 +45,12 @@ Extension [ <persistent> extension #86 decimal version 1.3.0 ] { - Properties [0] { } - - Methods [40] { + - Methods [41] { Method [ <internal:decimal, ctor> public method __construct ] { - Parameters [2] { Parameter #0 [ <optional> $value ] - Parameter #1 [ <optional> integer $precision ] + Parameter #1 [ <optional> int $precision ] } } @@ -169,8 +169,8 @@ Extension [ <persistent> extension #86 decimal version 1.3.0 ] { Method [ <internal:decimal> public method round ] { - Parameters [2] { - Parameter #0 [ <optional> integer or NULL $places ] - Parameter #1 [ <optional> integer or NULL $rounding ] + Parameter #0 [ <optional> int or NULL $places ] + Parameter #1 [ <optional> int or NULL $rounding ] } - Return [ Decimal\Decimal ] } @@ -178,7 +178,7 @@ Extension [ <persistent> extension #86 decimal version 1.3.0 ] { Method [ <internal:decimal> public method shift ] { - Parameters [1] { - Parameter #0 [ <required> integer $places ] + Parameter #0 [ <required> int $places ] } - Return [ Decimal\Decimal ] } @@ -194,21 +194,21 @@ Extension [ <persistent> extension #86 decimal version 1.3.0 ] { - Parameters [0] { } - - Return [ integer ] + - Return [ int ] } Method [ <internal:decimal> public method signum ] { - Parameters [0] { } - - Return [ integer ] + - Return [ int ] } Method [ <internal:decimal> public method parity ] { - Parameters [0] { } - - Return [ integer ] + - Return [ int ] } Method [ <internal:decimal> public method abs ] { @@ -229,64 +229,64 @@ Extension [ <persistent> extension #86 decimal version 1.3.0 ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ <internal:decimal> public method isOdd ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ <internal:decimal> public method isPositive ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ <internal:decimal> public method isNegative ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ <internal:decimal> public method isNaN ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ <internal:decimal> public method isInf ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ <internal:decimal> public method isInteger ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ <internal:decimal> public method isZero ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ <internal:decimal> public method toFixed ] { - Parameters [3] { - Parameter #0 [ <optional> integer or NULL $places ] - Parameter #1 [ <optional> boolean or NULL $commas ] - Parameter #2 [ <optional> integer or NULL $rounding ] + Parameter #0 [ <optional> int or NULL $places ] + Parameter #1 [ <optional> bool or NULL $commas ] + Parameter #2 [ <optional> int or NULL $rounding ] } - Return [ string ] } @@ -302,7 +302,7 @@ Extension [ <persistent> extension #86 decimal version 1.3.0 ] { - Parameters [0] { } - - Return [ integer ] + - Return [ int ] } Method [ <internal:decimal> public method toFloat ] { @@ -317,7 +317,7 @@ Extension [ <persistent> extension #86 decimal version 1.3.0 ] { - Parameters [1] { Parameter #0 [ <required> $other ] } - - Return [ boolean ] + - Return [ bool ] } Method [ <internal:decimal> public method compareTo ] { @@ -325,7 +325,16 @@ Extension [ <persistent> extension #86 decimal version 1.3.0 ] { - Parameters [1] { Parameter #0 [ <required> $other ] } - - Return [ integer ] + - Return [ int ] + } + + Method [ <internal:decimal> public method between ] { + + - Parameters [2] { + Parameter #0 [ <required> $other ] + Parameter #1 [ <optional> $other ] + } + - Return [ bool ] } Method [ <internal:decimal> public method __toString ] { |