diff --git a/README.md b/README.md index 2e9c3412..aba121ce 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,7 @@ There are a few convenience methods on Document to ease finding, manipulating an * `getAllDeclarationBlocks()` – does what it says; no matter how deeply nested your selectors are. Aliased as `getAllSelectors()`. * `getAllRuleSets()` – does what it says; no matter how deeply nested your rule sets are. * `getAllValues()` – finds all `Value` objects inside `Rule`s. +* `getSelectorsBySpecificity(int: $specificity)` - finds all selectors with the requested specificity. `$specificity` is an integer with `1` being the highest specificity value. The method behaves just like `getAllDeclarationBlocks()` if no parameter is passed. ## To-Do diff --git a/src/CSSList/CSSList.php b/src/CSSList/CSSList.php index f21d7f75..148cf19d 100644 --- a/src/CSSList/CSSList.php +++ b/src/CSSList/CSSList.php @@ -274,7 +274,7 @@ public function prepend($oItem) } /** - * Appends an item to tje list of contents. + * Appends an item to the list of contents. * * @param RuleSet|CSSList|Import|Charset $oItem *