Skip to content

Commit 0ff08fa

Browse files
authored
[TASK] Remove DeclarationBlock::setSelector (#560)
Signed-off-by: Daniel Ziegenberg <[email protected]>
1 parent ca9c54e commit 0ff08fa

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

2121
### Removed
2222

23+
- Remove `DeclarationBlock::setSelector()` (#560)
2324
- Drop support for PHP < 7.2 (#420)
2425

2526
### Fixed

src/RuleSet/DeclarationBlock.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,6 @@ public function getSelector()
156156
return $this->getSelectors();
157157
}
158158

159-
/**
160-
* @param Selector|string $mSelector
161-
* @param CSSList|null $oList
162-
*
163-
* @return void
164-
*
165-
* @deprecated will be removed in version 9.0; use `setSelectors()` instead
166-
*/
167-
public function setSelector($mSelector, $oList = null)
168-
{
169-
$this->setSelectors($mSelector, $oList);
170-
}
171159

172160
/**
173161
* @return array<int, Selector|string>

0 commit comments

Comments
 (0)