Skip to content

Commit 36eb510

Browse files
committed
Change the wording of at-rules in PHPDoc
At-rules should be written as "`at-rules`", not as "`@-rules`", as the `@` character is used to mark PHPDoc annotations. (In addition, the naming then is consistent with the terminology used at https://developer.mozilla.org/en-US/docs/Web/CSS/Syntax.)
1 parent 192d004 commit 36eb510

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/CSSList/AtRuleBlockList.php

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

88
/**
9-
* A BlockList constructed by an unknown @-rule. @media rules are rendered into AtRuleBlockList objects.
9+
* A BlockList constructed by an unknown at-rule. @media rules are rendered into AtRuleBlockList objects.
1010
*/
1111
class AtRuleBlockList extends CSSBlockList implements AtRule
1212
{

src/CSSList/CSSList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
/**
2525
* A CSSList is the most generic container available. Its contents include RuleSet as well as other CSSList objects.
26-
* Also, it may contain Import and Charset objects stemming from @-rules.
26+
* Also, it may contain Import and Charset objects stemming from at-rules.
2727
*/
2828
abstract class CSSList implements Renderable, Commentable
2929
{

src/CSSList/Document.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/**
1010
* The root CSSList of a parsed file. Contains all top-level css contents, mostly declaration blocks,
11-
* but also any @-rules encountered.
11+
* but also any at-rules encountered.
1212
*/
1313
class Document extends CSSBlockList
1414
{

src/OutputFormat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class OutputFormat
5454
public $sSpaceBetweenBlocks = "\n";
5555

5656
/**
57-
* Content injected in and around @-rule blocks.
57+
* Content injected in and around at-rule blocks.
5858
*
5959
* @var string
6060
*/

src/RuleSet/AtRuleSet.php

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

88
/**
9-
* A RuleSet constructed by an unknown @-rule. `@font-face` rules are rendered into AtRuleSet objects.
9+
* A RuleSet constructed by an unknown at-rule. `@font-face` rules are rendered into AtRuleSet objects.
1010
*/
1111
class AtRuleSet extends RuleSet implements AtRule
1212
{

0 commit comments

Comments
 (0)