Skip to content

Commit deb040a

Browse files
Merge branch '4.4' into 5.2
* 4.4: Backport type fixes uzb translation [DependencyInjection] Fix doc blocks [DependencyInjection] Turn $defaultDeprecationTemplate into a constant [Form] better form doc types to support static analysis
2 parents fcd0b29 + 8da05a9 commit deb040a

9 files changed

+0
-27
lines changed

Node/AttributeNode.php

-3
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ public function getSpecificity(): Specificity
7171
return $this->selector->getSpecificity()->plus(new Specificity(0, 1, 0));
7272
}
7373

74-
/**
75-
* {@inheritdoc}
76-
*/
7774
public function __toString(): string
7875
{
7976
$attribute = $this->namespace ? $this->namespace.'|'.$this->attribute : $this->attribute;

Node/ClassNode.php

-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ public function getSpecificity(): Specificity
5050
return $this->selector->getSpecificity()->plus(new Specificity(0, 1, 0));
5151
}
5252

53-
/**
54-
* {@inheritdoc}
55-
*/
5653
public function __toString(): string
5754
{
5855
return sprintf('%s[%s.%s]', $this->getNodeName(), $this->selector, $this->name);

Node/CombinedSelectorNode.php

-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ public function getSpecificity(): Specificity
5757
return $this->selector->getSpecificity()->plus($this->subSelector->getSpecificity());
5858
}
5959

60-
/**
61-
* {@inheritdoc}
62-
*/
6360
public function __toString(): string
6461
{
6562
$combinator = ' ' === $this->combinator ? '<followed>' : $this->combinator;

Node/ElementNode.php

-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ public function getSpecificity(): Specificity
5050
return new Specificity(0, 0, $this->element ? 1 : 0);
5151
}
5252

53-
/**
54-
* {@inheritdoc}
55-
*/
5653
public function __toString(): string
5754
{
5855
$element = $this->element ?: '*';

Node/FunctionNode.php

-3
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ public function getSpecificity(): Specificity
6565
return $this->selector->getSpecificity()->plus(new Specificity(0, 1, 0));
6666
}
6767

68-
/**
69-
* {@inheritdoc}
70-
*/
7168
public function __toString(): string
7269
{
7370
$arguments = implode(', ', array_map(function (Token $token) {

Node/HashNode.php

-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ public function getSpecificity(): Specificity
5050
return $this->selector->getSpecificity()->plus(new Specificity(1, 0, 0));
5151
}
5252

53-
/**
54-
* {@inheritdoc}
55-
*/
5653
public function __toString(): string
5754
{
5855
return sprintf('%s[%s#%s]', $this->getNodeName(), $this->selector, $this->id);

Node/NegationNode.php

-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ public function getSpecificity(): Specificity
5050
return $this->selector->getSpecificity()->plus($this->subSelector->getSpecificity());
5151
}
5252

53-
/**
54-
* {@inheritdoc}
55-
*/
5653
public function __toString(): string
5754
{
5855
return sprintf('%s[%s:not(%s)]', $this->getNodeName(), $this->selector, $this->subSelector);

Node/PseudoNode.php

-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ public function getSpecificity(): Specificity
5050
return $this->selector->getSpecificity()->plus(new Specificity(0, 1, 0));
5151
}
5252

53-
/**
54-
* {@inheritdoc}
55-
*/
5653
public function __toString(): string
5754
{
5855
return sprintf('%s[%s:%s]', $this->getNodeName(), $this->selector, $this->identifier);

Node/SelectorNode.php

-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ public function getSpecificity(): Specificity
5050
return $this->tree->getSpecificity()->plus(new Specificity(0, 0, $this->pseudoElement ? 1 : 0));
5151
}
5252

53-
/**
54-
* {@inheritdoc}
55-
*/
5653
public function __toString(): string
5754
{
5855
return sprintf('%s[%s%s]', $this->getNodeName(), $this->tree, $this->pseudoElement ? '::'.$this->pseudoElement : '');

0 commit comments

Comments
 (0)