Skip to content

Commit 437b82b

Browse files
authored
Merge pull request #119 from wp-cli/update/wp-cli-2-12
Require `wp-cli/wp-cli` v2.12
2 parents eeafa03 + 94e6f81 commit 437b82b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"require": {
1515
"nb/oxymel": "~0.1.0",
16-
"wp-cli/wp-cli": "^2.5"
16+
"wp-cli/wp-cli": "^2.12"
1717
},
1818
"require-dev": {
1919
"wp-cli/db-command": "^1.3 || ^2",

src/WP_Map_Iterator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ public function __construct( $iterator, $callback ) {
66
parent::__construct( $iterator );
77
}
88

9+
#[\ReturnTypeWillChange]
910
public function current() {
1011
$original_current = parent::current();
1112
return call_user_func( $this->callback, $original_current );

0 commit comments

Comments
 (0)