Skip to content

Commit e83e810

Browse files
GrotaxCopilot
andcommitted
Use strict equality sign
Co-authored-by: Copilot <[email protected]>
1 parent ebe52c5 commit e83e810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FeedIo/Rule/PublicId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class PublicId extends RuleAbstract
1818
public function setProperty(NodeInterface $node, \DOMElement $element): void
1919
{
2020
$node->setPublicId($element->nodeValue);
21-
if ($element->nodeName == 'guid'
21+
if ($element->nodeName === 'guid'
2222
&& $element->getAttribute('isPermaLink') === 'true'
2323
&& is_null($node->getLink())) {
2424
$node->setLink($element->nodeValue);

0 commit comments

Comments
 (0)