Skip to content

Commit

Permalink
Fixed PHPStan error
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Wright <tom@inflatablecookie.com>
  • Loading branch information
betterthanclay committed Oct 16, 2023
1 parent 949ec90 commit e989028
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ public function hasAttributes(string ...$keys): bool
*/
public function countAttributes(): int
{
/** @phpstan-ignore-next-line */
if ($this->element->attributes === null) {
return 0;
}
Expand Down

0 comments on commit e989028

Please sign in to comment.