← All changes
|
back/Libraries/Symfony/CssSelector/Node/HashNode.php
+4
-1
10.0.1
→
11.1.0
View file →
| @@ -8,9 +8,9 @@ | ||
| 8 | 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -namespace Symfony\Component\CssSelector\Node; | |
| 12 | +namespace AcyMailing\Libraries\Symfony\CssSelector\Node; | |
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * Represents a "<selector>#<id>" node. |
| 16 | 16 | * |
| @@ -49,8 +49,11 @@ | ||
| 49 | 49 | { |
| 50 | 50 | return $this->selector->getSpecificity()->plus(new Specificity(1, 0, 0)); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | + /** | |
| 54 | + * {@inheritdoc} | |
| 55 | + */ | |
| 53 | 56 | public function __toString(): string |
| 54 | 57 | { |
| 55 | 58 | return sprintf('%s[%s#%s]', $this->getNodeName(), $this->selector, $this->id); |
| 56 | 59 | } |