From 249fc762bc7cadfcce92617ad074a366c74b1e06 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Sep 2021 07:05:02 +0200 Subject: update to 0.3.0 --- PHPINFO | 2 +- REFLECTION | 41 +++++++++++++++++++++++++---------------- php-pecl-teds.spec | 5 ++++- 3 files changed, 30 insertions(+), 18 deletions(-) diff --git a/PHPINFO b/PHPINFO index 8d8da33..5a20b34 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,4 +2,4 @@ teds teds support => enabled -teds version => 0.2.1 +teds version => 0.3.0 diff --git a/REFLECTION b/REFLECTION index 632a007..865bbf5 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #82 teds version 0.2.1 ] { +Extension [ extension #82 teds version 0.3.0 ] { - Functions { Function [ function Teds\any ] { @@ -163,7 +163,7 @@ Extension [ extension #82 teds version 0.2.1 ] { - Return [ array ] } - Method [ public method valueAt ] { + Method [ public method get ] { - Parameters [1] { Parameter #0 [ int $offset ] @@ -171,7 +171,7 @@ Extension [ extension #82 teds version 0.2.1 ] { - Return [ mixed ] } - Method [ public method setValueAt ] { + Method [ public method set ] { - Parameters [2] { Parameter #0 [ int $offset ] @@ -218,7 +218,7 @@ Extension [ extension #82 teds version 0.2.1 ] { - Parameters [1] { Parameter #0 [ mixed $value ] } - - Return [ int|false ] + - Return [ ?int ] } Method [ public method contains ] { @@ -346,7 +346,7 @@ Extension [ extension #82 teds version 0.2.1 ] { - Parameters [1] { Parameter #0 [ mixed $key ] } - - Return [ int|false ] + - Return [ ?int ] } Method [ public method indexOfValue ] { @@ -354,7 +354,7 @@ Extension [ extension #82 teds version 0.2.1 ] { - Parameters [1] { Parameter #0 [ mixed $value ] } - - Return [ int|false ] + - Return [ ?int ] } Method [ public method containsKey ] { @@ -447,7 +447,7 @@ Extension [ extension #82 teds version 0.2.1 ] { - Return [ array ] } - Method [ public method valueAt ] { + Method [ public method get ] { - Parameters [1] { Parameter #0 [ int $offset ] @@ -493,7 +493,7 @@ Extension [ extension #82 teds version 0.2.1 ] { - Parameters [1] { Parameter #0 [ mixed $value ] } - - Return [ int|false ] + - Return [ ?int ] } Method [ public method contains ] { @@ -677,7 +677,7 @@ Extension [ extension #82 teds version 0.2.1 ] { - Parameters [1] { Parameter #0 [ mixed $key ] } - - Return [ int|false ] + - Return [ ?int ] } Method [ public method indexOfValue ] { @@ -685,7 +685,7 @@ Extension [ extension #82 teds version 0.2.1 ] { - Parameters [1] { Parameter #0 [ mixed $value ] } - - Return [ int|false ] + - Return [ ?int ] } Method [ public method containsKey ] { @@ -741,7 +741,7 @@ Extension [ extension #82 teds version 0.2.1 ] { - Properties [0] { } - - Methods [23] { + - Methods [24] { Method [ public method __construct ] { - Parameters [2] { @@ -778,6 +778,14 @@ Extension [ extension #82 teds version 0.2.1 ] { - Return [ void ] } + Method [ public method reserve ] { + + - Parameters [1] { + Parameter #0 [ int $capacity ] + } + - Return [ void ] + } + Method [ public method clear ] { - Parameters [0] { @@ -787,8 +795,9 @@ Extension [ extension #82 teds version 0.2.1 ] { Method [ public method setSize ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ int $size ] + Parameter #1 [ mixed $value = null ] } - Return [ void ] } @@ -811,7 +820,7 @@ Extension [ extension #82 teds version 0.2.1 ] { Method [ public method push ] { - Parameters [1] { - Parameter #0 [ mixed $value ] + Parameter #0 [ mixed ...$values ] } - Return [ void ] } @@ -830,7 +839,7 @@ Extension [ extension #82 teds version 0.2.1 ] { - Return [ array ] } - Method [ public method valueAt ] { + Method [ public method get ] { - Parameters [1] { Parameter #0 [ int $offset ] @@ -838,7 +847,7 @@ Extension [ extension #82 teds version 0.2.1 ] { - Return [ mixed ] } - Method [ public method setValueAt ] { + Method [ public method set ] { - Parameters [2] { Parameter #0 [ int $offset ] @@ -885,7 +894,7 @@ Extension [ extension #82 teds version 0.2.1 ] { - Parameters [1] { Parameter #0 [ mixed $value ] } - - Return [ int|false ] + - Return [ ?int ] } Method [ public method contains ] { diff --git a/php-pecl-teds.spec b/php-pecl-teds.spec index 97ee03e..37765f1 100644 --- a/php-pecl-teds.spec +++ b/php-pecl-teds.spec @@ -19,7 +19,7 @@ %global pecl_name teds %global ini_name 40-%{pecl_name}.ini -%global upstream_version 0.2.1 +%global upstream_version 0.3.0 #global upstream_prever a1 Summary: Tentative Extra Data Structures @@ -195,6 +195,9 @@ fi %changelog +* Mon Sep 20 2021 Remi Collet - 0.3.0-1 +- update to 0.3.0 + * Sat Sep 18 2021 Remi Collet - 0.2.1-1 - update to 0.2.1 -- cgit