Skip to content

Commit 1389cb4

Browse files
Merge branch '4.4'
* 4.4: Remove superfluous phpdoc tags
2 parents 6b2eb33 + 79fa7eb commit 1389cb4

File tree

6 files changed

+0
-21
lines changed

6 files changed

+0
-21
lines changed

Exception/SyntaxErrorException.php

-7
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
class SyntaxErrorException extends ParseException
2525
{
2626
/**
27-
* @param string $expectedValue
28-
*
2927
* @return self
3028
*/
3129
public static function unexpectedToken(string $expectedValue, Token $foundToken)
@@ -34,9 +32,6 @@ public static function unexpectedToken(string $expectedValue, Token $foundToken)
3432
}
3533

3634
/**
37-
* @param string $pseudoElement
38-
* @param string $unexpectedLocation
39-
*
4035
* @return self
4136
*/
4237
public static function pseudoElementFound(string $pseudoElement, string $unexpectedLocation)
@@ -45,8 +40,6 @@ public static function pseudoElementFound(string $pseudoElement, string $unexpec
4540
}
4641

4742
/**
48-
* @param int $position
49-
*
5043
* @return self
5144
*/
5245
public static function unclosedString(int $position)

Node/AbstractNode.php

-3
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

-4
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

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ class FunctionNode extends AbstractNode
3030
private $arguments;
3131

3232
/**
33-
* @param string $name
3433
* @param Token[] $arguments
3534
*/
3635
public function __construct(NodeInterface $selector, string $name, array $arguments = [])

Parser/Handler/HandlerInterface.php

-3
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

-3
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)