Skip to content

Commit

Permalink
Fix phpstan issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaval-parekh committed Jan 7, 2022
1 parent cecd69e commit 9581d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/sanitizers/class-amp-accessibility-sanitizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function add_skip_link() {

$main_tag = $this->dom->getElementsByTagName( Tag::MAIN );

if ( empty( $main_tag ) || 0 === $main_tag->length ) {
if ( 0 === $main_tag->length ) {
return;
}

Expand Down

0 comments on commit 9581d55

Please sign in to comment.