Skip to content

Commit 2e928ec

Browse files
committed
Add type annotations for AtRule
1 parent 1218187 commit 2e928ec

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src/Property/AtRule.php

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,19 @@
77

88
interface AtRule extends Renderable, Commentable
99
{
10-
// Since there are more set rules than block rules,
11-
// we’re whitelisting the block rules and have anything else be treated as a set rule.
10+
/**
11+
* Since there are more set rules than block rules,
12+
* we’re whitelisting the block rules and have anything else be treated as a set rule.
13+
*
14+
* @var string
15+
*/
1216
const BLOCK_RULES = 'media/document/supports/region-style/font-feature-values';
13-
// … and more font-specific ones (to be used inside font-feature-values)
17+
18+
/**
19+
* … and more font-specific ones (to be used inside font-feature-values)
20+
*
21+
* @var string
22+
*/
1423
const SET_RULES = 'font-face/counter-style/page/swash/styleset/annotation';
1524

1625
/**

0 commit comments

Comments
 (0)