From ac4d1531e23a55c77f26185e08cbca7dcaad330a Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 19 Dec 2024 15:46:08 +0100 Subject: [PATCH] Add missing return statement --- .../class-optimization-detective-debug-tag-visitor.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/optimization-detective/class-optimization-detective-debug-tag-visitor.php b/plugins/optimization-detective/class-optimization-detective-debug-tag-visitor.php index 0832aa554..143942654 100644 --- a/plugins/optimization-detective/class-optimization-detective-debug-tag-visitor.php +++ b/plugins/optimization-detective/class-optimization-detective-debug-tag-visitor.php @@ -24,10 +24,12 @@ final class Optimization_Detective_Debug_Tag_Visitor { /** * Visits a tag. * + * This tag visitor doesn't itself request elements to be tracked in URL Metrics, but will reuse tracking that other tag visitors have opted-in to. + * * @since n.e.x.t * * @param OD_Tag_Visitor_Context $context Tag visitor context. - * @return false This tag visitor doesn't itself request elements to be tracked in URL Metrics, but will reuse tracking that other tag visitors have opted-in to. + * @return false Always returns false. */ public function __invoke( OD_Tag_Visitor_Context $context ): bool { $processor = $context->processor; @@ -88,5 +90,7 @@ class="od-debug-popover" ); } } + + return false; } }