Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Dec 19, 2024
1 parent ac4d153 commit 098191c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ public function __invoke( OD_Tag_Visitor_Context $context ): bool {

$xpath = $processor->get_xpath();

/**
* @var OD_URL_Metric_Group $group
*/
foreach ( $context->url_metric_group_collection as $group ) {
// This is the LCP element for this group.
if ( $group->get_lcp_element() instanceof OD_Element && $xpath === $group->get_lcp_element()->get_xpath() ) {
Expand Down
6 changes: 0 additions & 6 deletions plugins/optimization-detective/debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,7 @@ function od_debug_add_assets(): void {

$inp_dots = array();

/**
* @var OD_URL_Metric_Group $group
*/
foreach ( $group_collection as $group ) {
/**
* @var OD_URL_Metric $url_metric
*/
foreach ( $group as $url_metric ) {
foreach ( $url_metric->get( 'inpData' ) as $inp_data ) {
if ( isset( $inp_dots[ $inp_data['interactionTarget'] ] ) ) {
Expand Down

0 comments on commit 098191c

Please sign in to comment.