Skip to content

Commit 0cad1ec

Browse files
authored
[TASK] Remove DeclarationBlock::getSelector (#559)
1 parent b979dc8 commit 0cad1ec

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
2222

2323
### Removed
2424

25+
- Remove `DeclarationBlock::getSelector()` (#559)
2526
- Remove `DeclarationBlock::setSelector()` (#560)
2627
- Drop support for PHP < 7.2 (#420)
2728

src/RuleSet/DeclarationBlock.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -146,17 +146,6 @@ public function removeSelector($mSelector)
146146
return false;
147147
}
148148

149-
/**
150-
* @return array<int, Selector|string>
151-
*
152-
* @deprecated will be removed in version 9.0; use `getSelectors()` instead
153-
*/
154-
public function getSelector()
155-
{
156-
return $this->getSelectors();
157-
}
158-
159-
160149
/**
161150
* @return array<int, Selector|string>
162151
*/

0 commit comments

Comments
 (0)