Skip to content

Commit 5960ff3

Browse files
committedOct 3, 2024
Indicate deprecated nature of url_metrics_group_collection property
1 parent 1cf24f1 commit 5960ff3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎plugins/optimization-detective/class-od-tag-visitor-context.php

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* @since 0.4.0
1818
* @access private
1919
*
20-
* @property-read OD_URL_Metric_Group_Collection $url_metrics_group_collection
20+
* @property-read OD_URL_Metric_Group_Collection $url_metrics_group_collection Deprecated property accessed via magic getter. Use the url_metric_group_collection property instead.
2121
*/
2222
final class OD_Tag_Visitor_Context {
2323

@@ -59,7 +59,10 @@ public function __construct( OD_HTML_Tag_Processor $processor, OD_URL_Metric_Gro
5959
}
6060

6161
/**
62-
* Gets magic properties.
62+
* Gets deprecated property.
63+
*
64+
* @since n.e.x.t
65+
* @todo Remove this when no plugins are possibly referring to the url_metrics_group_collection property anymore.
6366
*
6467
* @param string $name Property name.
6568
* @return OD_URL_Metric_Group_Collection URL metric group collection.

0 commit comments

Comments
 (0)