Skip to content

Commit 1bd3a60

Browse files
committed
[CLEANUP] Final removal of Document::getAllSelectors
Signed-off-by: Daniel Ziegenberg <[email protected]>
1 parent 55e7f21 commit 1bd3a60

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
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 `Document::getAllSelectors()` (#561)
2425

2526
### Fixed
2627

src/CSSList/Document.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,6 @@ public function getAllDeclarationBlocks()
5050
return $aResult;
5151
}
5252

53-
/**
54-
* Gets all `DeclarationBlock` objects recursively.
55-
*
56-
* @return array<int, DeclarationBlock>
57-
*
58-
* @deprecated will be removed in version 9.0; use `getAllDeclarationBlocks()` instead
59-
*/
60-
public function getAllSelectors()
61-
{
62-
return $this->getAllDeclarationBlocks();
63-
}
64-
6553
/**
6654
* Returns all `RuleSet` objects recursively found in the tree, no matter how deeply nested the rule sets are.
6755
*

0 commit comments

Comments
 (0)