Skip to content

Commit

Permalink
[TASK] Remove DeclarationBlock::getSelector (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziegenberg committed Jun 18, 2024
1 parent b979dc8 commit 0cad1ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).

### Removed

- Remove `DeclarationBlock::getSelector()` (#559)
- Remove `DeclarationBlock::setSelector()` (#560)
- Drop support for PHP < 7.2 (#420)

Expand Down
11 changes: 0 additions & 11 deletions src/RuleSet/DeclarationBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,17 +146,6 @@ public function removeSelector($mSelector)
return false;
}

/**
* @return array<int, Selector|string>
*
* @deprecated will be removed in version 9.0; use `getSelectors()` instead
*/
public function getSelector()
{
return $this->getSelectors();
}


/**
* @return array<int, Selector|string>
*/
Expand Down

0 comments on commit 0cad1ec

Please sign in to comment.