PluginProbe
Polylang / trunk
Polylang vtrunk
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
← All changes | src/translatable-objects.php +1 -2 3.8.8 → trunk View file →
@@ -66,10 +66,9 @@
66 66 * @return ArrayIterator Iterator on $objects array property. Keys are the type of translated content (post, term, etc).
67 67 *
68 68 * @phpstan-return ArrayIterator<string, PLL_Translatable_Object>
69 69 */
70 - #[\ReturnTypeWillChange]
71 - public function getIterator() {
70 + public function getIterator(): ArrayIterator {
72 71 return new ArrayIterator( $this->objects );
73 72 }
74 73
75 74 /**