Changeset 60618
- Timestamp:
- 08/07/2025 02:45:05 PM (6 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-block-list.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-list.php
r60325 r60618 68 68 * @link https://www.php.net/manual/en/arrayaccess.offsetexists.php 69 69 * 70 * @param string$offset Offset of block to check for.70 * @param int $offset Offset of block to check for. 71 71 * @return bool Whether block exists. 72 72 */ … … 83 83 * @link https://www.php.net/manual/en/arrayaccess.offsetget.php 84 84 * 85 * @param string$offset Offset of block value to retrieve.86 * @return mixed|null Block value if exists, or null.85 * @param int $offset Offset of block value to retrieve. 86 * @return WP_Block|null Block value if exists, or null. 87 87 */ 88 88 #[ReturnTypeWillChange] … … 106 106 * @link https://www.php.net/manual/en/arrayaccess.offsetset.php 107 107 * 108 * @param string$offset Offset of block value to set.109 * @param mixed $valueBlock value.108 * @param int $offset Offset of block value to set. 109 * @param array|WP_Block $value Block value. 110 110 */ 111 111 #[ReturnTypeWillChange] … … 125 125 * @link https://www.php.net/manual/en/arrayaccess.offsetunset.php 126 126 * 127 * @param string$offset Offset of block value to unset.127 * @param int $offset Offset of block value to unset. 128 128 */ 129 129 #[ReturnTypeWillChange] … … 151 151 * @link https://www.php.net/manual/en/iterator.current.php 152 152 * 153 * @return mixedCurrent element.153 * @return WP_Block|null Current element. 154 154 */ 155 155 #[ReturnTypeWillChange] … … 165 165 * @link https://www.php.net/manual/en/iterator.key.php 166 166 * 167 * @return mixedKey of the current element.167 * @return int|null Key of the current element. 168 168 */ 169 169 #[ReturnTypeWillChange]
Note: See TracChangeset
for help on using the changeset viewer.