PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.5
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.5
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | src/memoizers/presentation-memoizer.php +3 -1 18.2 → 28.5 View file →
@@ -56,9 +56,9 @@
56 56 $context->presentation = $presentation->of(
57 57 [
58 58 'model' => $indexable,
59 59 'context' => $context,
60 - ]
60 + ],
61 61 );
62 62
63 63 $this->cache[ $indexable->id ] = $context->presentation;
64 64 }
@@ -69,8 +69,10 @@
69 69 /**
70 70 * Clears the memoization of either a specific indexable or all indexables.
71 71 *
72 72 * @param Indexable|int|null $indexable Optional. The indexable or indexable id to clear the memoization of.
73 + *
74 + * @return void
73 75 */
74 76 public function clear( $indexable = null ) {
75 77 if ( $indexable instanceof Indexable ) {
76 78 unset( $this->cache[ $indexable->id ] );