Skip to content

Commit e4be5f4

Browse files
authored
[TASK] Update DocBlock for RuleContainer to refer to Declaration (#1522)
`Rule\Rule` was replaced with `Property\Declaration` in #1508.
1 parent f6ddd48 commit e4be5f4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ Please also have a look at our
1818

1919
### Changed
2020

21-
- `Rule\Rule` class is renamed to `Property\Declaration` (#1508, #1512, #1513)
21+
- `Rule\Rule` class is renamed to `Property\Declaration`
22+
(#1508, #1512, #1513, #1522)
2223
- `Rule::setRule()` and `getRule()` are replaced with `setPropertyName()` and
2324
`getPropertyName()` (#1506)
2425
- `Selector` is now represented as a sequence of `Selector\Component` objects

src/RuleSet/RuleContainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Sabberworm\CSS\Property\Declaration;
88

99
/**
10-
* Represents a CSS item that contains `Rules`, defining the methods to manipulate them.
10+
* Represents a CSS item that contains `Declaration`s, defining the methods to manipulate them.
1111
*/
1212
interface RuleContainer
1313
{

0 commit comments

Comments
 (0)