Skip to content

Commit 0478373

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

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

CHANGELOG.md

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

2323
- Drop support for PHP < 7.2 (#420)
24+
- Final removal of `DeclarationBlock::getSelector()` (#559)
2425

2526
### Fixed
2627

src/RuleSet/DeclarationBlock.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -146,16 +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-
159149
/**
160150
* @param Selector|string $mSelector
161151
* @param CSSList|null $oList

0 commit comments

Comments
 (0)