From 483932783561752f0add0693b8b221a2fd09246e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Feb 2020 07:50:00 +0100 Subject: update to 1.3.1 drop patch merged upstream --- REFLECTION | 85 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 47 insertions(+), 38 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 69e673b..bba6510 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,22 +1,22 @@ -Extension [ extension #86 decimal version 1.3.0 ] { +Extension [ extension #109 decimal version 1.3.1 ] { - Classes [1] { Class [ 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 [ extension #86 decimal version 1.3.0 ] { - Parameters [2] { Parameter #0 [ $values ] - Parameter #1 [ integer or NULL $precision ] + Parameter #1 [ int or NULL $precision ] } - Return [ Decimal\Decimal ] } @@ -36,7 +36,7 @@ Extension [ extension #86 decimal version 1.3.0 ] { - Parameters [2] { Parameter #0 [ $values ] - Parameter #1 [ integer or NULL $precision ] + Parameter #1 [ int or NULL $precision ] } - Return [ Decimal\Decimal ] } @@ -45,12 +45,12 @@ Extension [ extension #86 decimal version 1.3.0 ] { - Properties [0] { } - - Methods [40] { + - Methods [41] { Method [ public method __construct ] { - Parameters [2] { Parameter #0 [ $value ] - Parameter #1 [ integer $precision ] + Parameter #1 [ int $precision ] } } @@ -169,8 +169,8 @@ Extension [ extension #86 decimal version 1.3.0 ] { Method [ public method round ] { - Parameters [2] { - Parameter #0 [ integer or NULL $places ] - Parameter #1 [ integer or NULL $rounding ] + Parameter #0 [ int or NULL $places ] + Parameter #1 [ int or NULL $rounding ] } - Return [ Decimal\Decimal ] } @@ -178,7 +178,7 @@ Extension [ extension #86 decimal version 1.3.0 ] { Method [ public method shift ] { - Parameters [1] { - Parameter #0 [ integer $places ] + Parameter #0 [ int $places ] } - Return [ Decimal\Decimal ] } @@ -194,21 +194,21 @@ Extension [ extension #86 decimal version 1.3.0 ] { - Parameters [0] { } - - Return [ integer ] + - Return [ int ] } Method [ public method signum ] { - Parameters [0] { } - - Return [ integer ] + - Return [ int ] } Method [ public method parity ] { - Parameters [0] { } - - Return [ integer ] + - Return [ int ] } Method [ public method abs ] { @@ -229,64 +229,64 @@ Extension [ extension #86 decimal version 1.3.0 ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ public method isOdd ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ public method isPositive ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ public method isNegative ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ public method isNaN ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ public method isInf ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ public method isInteger ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ public method isZero ] { - Parameters [0] { } - - Return [ boolean ] + - Return [ bool ] } Method [ public method toFixed ] { - Parameters [3] { - Parameter #0 [ integer or NULL $places ] - Parameter #1 [ boolean or NULL $commas ] - Parameter #2 [ integer or NULL $rounding ] + Parameter #0 [ int or NULL $places ] + Parameter #1 [ bool or NULL $commas ] + Parameter #2 [ int or NULL $rounding ] } - Return [ string ] } @@ -302,7 +302,7 @@ Extension [ extension #86 decimal version 1.3.0 ] { - Parameters [0] { } - - Return [ integer ] + - Return [ int ] } Method [ public method toFloat ] { @@ -317,7 +317,7 @@ Extension [ extension #86 decimal version 1.3.0 ] { - Parameters [1] { Parameter #0 [ $other ] } - - Return [ boolean ] + - Return [ bool ] } Method [ public method compareTo ] { @@ -325,7 +325,16 @@ Extension [ extension #86 decimal version 1.3.0 ] { - Parameters [1] { Parameter #0 [ $other ] } - - Return [ integer ] + - Return [ int ] + } + + Method [ public method between ] { + + - Parameters [2] { + Parameter #0 [ $other ] + Parameter #1 [ $other ] + } + - Return [ bool ] } Method [ public method __toString ] { -- cgit