Skip to content

Commit 3e6b053

Browse files
committed
Fix documentation comment
1 parent 4667f67 commit 3e6b053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sabberworm/CSS/RuleSet/RuleSet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function addRule(Rule $oRule) {
2828
* Returns all rules matching the given rule name
2929
* @param (null|string|Rule) $mRule pattern to search for. If null, returns all rules. if the pattern ends with a dash, all rules starting with the pattern are returned as well as one matching the pattern with the dash excluded. passing a Rule behaves like calling getRules($mRule->getRule()).
3030
* @example $oRuleSet->getRules('font-') //returns an array of all rules either beginning with font- or matching font.
31-
* @example $oRuleSet->getRules('font') //returns array('font' => $oRule) or array().
31+
* @example $oRuleSet->getRules('font') //returns array(0 => $oRule, …) or array().
3232
*/
3333
public function getRules($mRule = null) {
3434
if ($mRule instanceof Rule) {

0 commit comments

Comments
 (0)