Skip to content

Commit 7cc3ac2

Browse files
[DI] minor docblock fixes
1 parent cf66cb5 commit 7cc3ac2

25 files changed

+1
-287
lines changed

Node/AttributeNode.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,10 @@
2121
*/
2222
class AttributeNode extends AbstractNode
2323
{
24-
/**
25-
* @var NodeInterface
26-
*/
2724
private $selector;
28-
29-
/**
30-
* @var string
31-
*/
3225
private $namespace;
33-
34-
/**
35-
* @var string
36-
*/
3726
private $attribute;
38-
39-
/**
40-
* @var string
41-
*/
4227
private $operator;
43-
44-
/**
45-
* @var string
46-
*/
4728
private $value;
4829

4930
/**

Node/ClassNode.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,7 @@
2121
*/
2222
class ClassNode extends AbstractNode
2323
{
24-
/**
25-
* @var NodeInterface
26-
*/
2724
private $selector;
28-
29-
/**
30-
* @var string
31-
*/
3225
private $name;
3326

3427
/**

Node/CombinedSelectorNode.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,8 @@
2121
*/
2222
class CombinedSelectorNode extends AbstractNode
2323
{
24-
/**
25-
* @var NodeInterface
26-
*/
2724
private $selector;
28-
29-
/**
30-
* @var string
31-
*/
3225
private $combinator;
33-
34-
/**
35-
* @var NodeInterface
36-
*/
3726
private $subSelector;
3827

3928
/**

Node/FunctionNode.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,8 @@
2323
*/
2424
class FunctionNode extends AbstractNode
2525
{
26-
/**
27-
* @var NodeInterface
28-
*/
2926
private $selector;
30-
31-
/**
32-
* @var string
33-
*/
3427
private $name;
35-
36-
/**
37-
* @var Token[]
38-
*/
3928
private $arguments;
4029

4130
/**

Node/HashNode.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,7 @@
2121
*/
2222
class HashNode extends AbstractNode
2323
{
24-
/**
25-
* @var NodeInterface
26-
*/
2724
private $selector;
28-
29-
/**
30-
* @var string
31-
*/
3225
private $id;
3326

3427
/**

Node/NegationNode.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,9 @@
2121
*/
2222
class NegationNode extends AbstractNode
2323
{
24-
/**
25-
* @var NodeInterface
26-
*/
2724
private $selector;
28-
29-
/**
30-
* @var NodeInterface
31-
*/
3225
private $subSelector;
3326

34-
/**
35-
* @param NodeInterface $selector
36-
* @param NodeInterface $subSelector
37-
*/
3827
public function __construct(NodeInterface $selector, NodeInterface $subSelector)
3928
{
4029
$this->selector = $selector;

Node/PseudoNode.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,7 @@
2121
*/
2222
class PseudoNode extends AbstractNode
2323
{
24-
/**
25-
* @var NodeInterface
26-
*/
2724
private $selector;
28-
29-
/**
30-
* @var string
31-
*/
3225
private $identifier;
3326

3427
/**

Node/SelectorNode.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,7 @@
2121
*/
2222
class SelectorNode extends AbstractNode
2323
{
24-
/**
25-
* @var NodeInterface
26-
*/
2724
private $tree;
28-
29-
/**
30-
* @var null|string
31-
*/
3225
private $pseudoElement;
3326

3427
/**

Node/Specificity.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,8 @@ class Specificity
2727
const B_FACTOR = 10;
2828
const C_FACTOR = 1;
2929

30-
/**
31-
* @var int
32-
*/
3330
private $a;
34-
35-
/**
36-
* @var int
37-
*/
3831
private $b;
39-
40-
/**
41-
* @var int
42-
*/
4332
private $c;
4433

4534
/**
@@ -55,8 +44,6 @@ public function __construct($a, $b, $c)
5544
}
5645

5746
/**
58-
* @param Specificity $specificity
59-
*
6047
* @return self
6148
*/
6249
public function plus(Specificity $specificity)
@@ -78,8 +65,6 @@ public function getValue()
7865
* Returns -1 if the object specificity is lower than the argument,
7966
* 0 if they are equal, and 1 if the argument is lower.
8067
*
81-
* @param Specificity $specificity
82-
*
8368
* @return int
8469
*/
8570
public function compareTo(Specificity $specificity)

Parser/Handler/HandlerInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
interface HandlerInterface
2626
{
2727
/**
28-
* @param Reader $reader
29-
* @param TokenStream $stream
30-
*
3128
* @return bool
3229
*/
3330
public function handle(Reader $reader, TokenStream $stream);

0 commit comments

Comments
 (0)