8000 cs fix · symfony/symfony@974b77e · GitHub
[go: up one dir, main page]

Skip to content

Commit 974b77e

Browse files
cs fix
1 parent 3aceb6d commit 974b77e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Symfony/Component/CssSelector/XPath/Translator.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ public function selectorToXPath(SelectorNode $selector, string $prefix = 'descen
114114
return ($prefix ?: '').$this->nodeToXPath($selector);
115115
}
116116

117+
/**
118+
* @return $this
119+
*/
117120
public function registerExtension(Extension\ExtensionInterface $extension): self
118121
{
119122
$this->extensions[$extension->getName()] = $extension;
@@ -139,6 +142,9 @@ public function getExtension(string $name): Extension\ExtensionInterface
139142
return $this->extensions[$name];
140143
}
141144

145+
/**
146+
* @return $this
147+
*/
142148
public function registerParserShortcut(ParserInterface $shortcut): self
143149
{
144150
$this->shortcutParsers[] = $shortcut;

0 commit comments

Comments
 (0)
0