Skip to content

Commit 97d103d

Browse files
Merge branch '3.4' into 4.3
* 3.4: Remove superfluous phpdoc tags
2 parents 6eb1d20 + 2c1cc00 commit 97d103d

File tree

6 files changed

+1
-17
lines changed

6 files changed

+1
-17
lines changed

Exception/SyntaxErrorException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class SyntaxErrorException extends ParseException
2525
{
2626
/**
2727
* @param string $expectedValue
28-
* @param Token $foundToken
2928
*
3029
* @return self
3130
*/

Node/AbstractNode.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ abstract class AbstractNode implements NodeInterface
2828
*/
2929
private $nodeName;
3030

31-
/**
32-
* @return string
33-
*/
3431
public function getNodeName(): string
3532
{
3633
if (null === $this->nodeName) {

Node/ElementNode.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ class ElementNode extends AbstractNode
2626
private $namespace;
2727
private $element;
2828

29-
/**
30-
* @param string|null $namespace
31-
* @param string|null $element
32-
*/
3329
public function __construct(string $namespace = null, string $element = null)
3430
{
3531
$this->namespace = $namespace;

Node/FunctionNode.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ class FunctionNode extends AbstractNode
3030
private $arguments;
3131

3232
/**
33-
* @param NodeInterface $selector
34-
* @param string $name
35-
* @param Token[] $arguments
33+
* @param Token[] $arguments
3634
*/
3735
public function __construct(NodeInterface $selector, string $name, array $arguments = [])
3836
{

Parser/Handler/HandlerInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,5 @@
2626
*/
2727
interface HandlerInterface
2828
{
29-
/**
30-
* @return bool
31-
*/
3229
public function handle(Reader $reader, TokenStream $stream): bool;
3330
}

XPath/Extension/CombinationExtension.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ public function getCombinationTranslators(): array
3838
];
3939
}
4040

41-
/**
42-
* @return XPathExpr
43-
*/
4441
public function translateDescendant(XPathExpr $xpath, XPathExpr $combinedXpath): XPathExpr
4542
{
4643
return $xpath->join('/descendant-or-self::*/', $combinedXpath);

0 commit comments

Comments
 (0)