Skip to content

Commit 8b53396

Browse files
committed
[CLEANUP] Final removal of DeclarationBlock::getSelector
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
1 parent b979dc8 commit 8b53396

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
@@ -24,6 +24,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
2424

2525
- Remove `DeclarationBlock::setSelector()` (#560)
2626
- Drop support for PHP < 7.2 (#420)
27+
- Final removal of `DeclarationBlock::getSelector()` (#559)
2728

2829
### Fixed
2930

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)