1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

Use correct value for PECL DS MIN_CAPACITY constants (#5082)

* Update \Ds\Map::MIN_CAPACITY to reflect actual value

The MIN_CAPACITY was changed in PECL DS library from 16 to 8 in July 2017.
See: 9904fca6b3

* Update \Ds\Set::MIN_CAPACITY to reflect actual value 

Update \Ds\Set::MIN_CAPACITY to reflect actual value

The MIN_CAPACITY was changed in PECL DS library from 16 to 8 in July 2017.

See: php-ds/ext-ds@9904fca

* Update \Ds\Vector::MIN_CAPACITY to reflect actual value 

Update \Ds\Vector::MIN_CAPACITY to reflect actual value

The MIN_CAPACITY was changed in PECL DS library from 16 to 8 in July 2017.

See: php-ds/ext-ds@9904fca

* Add change of Vector::MIN_CAPACITY to changelog

* Add change of Set::MIN_CAPACITY to changelog

* Add change of Map::MIN_CAPACITY to changelog
This commit is contained in:
Léon Melis
2026-01-09 14:07:47 +01:00
committed by GitHub
parent a9e47cecca
commit 94b069b115
3 changed files with 21 additions and 3 deletions

View File

@@ -69,7 +69,7 @@
<modifier>const</modifier>
<type>int</type>
<varname linkend="ds-map.constants.min-capacity">Ds\Map::MIN_CAPACITY</varname>
<initializer>16</initializer>
<initializer>8</initializer>
</fieldsynopsis>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
@@ -113,6 +113,12 @@
The class now implements <classname>ArrayAccess</classname>.
</entry>
</row>
<row>
<entry>PECL ds 1.2.0</entry>
<entry>
<constant>Ds\Map::MIN_CAPACITY</constant> changed from 16 to 8.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>

View File

@@ -82,7 +82,7 @@
<modifier>const</modifier>
<type>int</type>
<varname linkend="ds-set.constants.min-capacity">Ds\Set::MIN_CAPACITY</varname>
<initializer>16</initializer>
<initializer>8</initializer>
</fieldsynopsis>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
@@ -132,6 +132,12 @@
Added the <methodname>Ds\Set::map</methodname> method.
</entry>
</row>
<row>
<entry>PECL ds 1.2.0</entry>
<entry>
<constant>Ds\Set::MIN_CAPACITY</constant> changed from 16 to 8.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>

View File

@@ -76,7 +76,7 @@
<modifier>const</modifier>
<type>int</type>
<varname linkend="ds-vector.constants.min-capacity">Ds\Vector::MIN_CAPACITY</varname>
<initializer>10</initializer>
<initializer>8</initializer>
</fieldsynopsis>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
@@ -122,6 +122,12 @@
The class now implements <classname>ArrayAccess</classname>.
</entry>
</row>
<row>
<entry>PECL ds 1.2.0</entry>
<entry>
<constant>Ds\Vector::MIN_CAPACITY</constant> changed from 10 to 8.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>