13
13
final class DeclarationBlockTest extends TestCase
14
14
{
15
15
/**
16
- * @param string $sCss
17
- * @param string $sExpected
18
- *
19
16
* @dataProvider expandBorderShorthandProvider
20
17
*
21
18
* @test
22
19
*/
23
- public function expandBorderShorthand ($ sCss , $ sExpected ): void
20
+ public function expandBorderShorthand (string $ sCss , string $ sExpected ): void
24
21
{
25
22
$ oParser = new Parser ($ sCss );
26
23
$ oDoc = $ oParser ->parse ();
@@ -46,14 +43,11 @@ public static function expandBorderShorthandProvider(): array
46
43
}
47
44
48
45
/**
49
- * @param string $sCss
50
- * @param string $sExpected
51
- *
52
46
* @dataProvider expandFontShorthandProvider
53
47
*
54
48
* @test
55
49
*/
56
- public function expandFontShorthand ($ sCss , $ sExpected ): void
50
+ public function expandFontShorthand (string $ sCss , string $ sExpected ): void
57
51
{
58
52
$ oParser = new Parser ($ sCss );
59
53
$ oDoc = $ oParser ->parse ();
@@ -102,14 +96,11 @@ public static function expandFontShorthandProvider(): array
102
96
}
103
97
104
98
/**
105
- * @param string $sCss
106
- * @param string $sExpected
107
- *
108
99
* @dataProvider expandBackgroundShorthandProvider
109
100
*
110
101
* @test
111
102
*/
112
- public function expandBackgroundShorthand ($ sCss , $ sExpected ): void
103
+ public function expandBackgroundShorthand (string $ sCss , string $ sExpected ): void
113
104
{
114
105
$ oParser = new Parser ($ sCss );
115
106
$ oDoc = $ oParser ->parse ();
@@ -155,14 +146,11 @@ public static function expandBackgroundShorthandProvider(): array
155
146
}
156
147
157
148
/**
158
- * @param string $sCss
159
- * @param string $sExpected
160
- *
161
149
* @dataProvider expandDimensionsShorthandProvider
162
150
*
163
151
* @test
164
152
*/
165
- public function expandDimensionsShorthand ($ sCss , $ sExpected ): void
153
+ public function expandDimensionsShorthand (string $ sCss , string $ sExpected ): void
166
154
{
167
155
$ oParser = new Parser ($ sCss );
168
156
$ oDoc = $ oParser ->parse ();
@@ -193,14 +181,11 @@ public static function expandDimensionsShorthandProvider(): array
193
181
}
194
182
195
183
/**
196
- * @param string $sCss
197
- * @param string $sExpected
198
- *
199
184
* @dataProvider createBorderShorthandProvider
200
185
*
201
186
* @test
202
187
*/
203
- public function createBorderShorthand ($ sCss , $ sExpected ): void
188
+ public function createBorderShorthand (string $ sCss , string $ sExpected ): void
204
189
{
205
190
$ oParser = new Parser ($ sCss );
206
191
$ oDoc = $ oParser ->parse ();
@@ -224,14 +209,11 @@ public static function createBorderShorthandProvider(): array
224
209
}
225
210
226
211
/**
227
- * @param string $sCss
228
- * @param string $sExpected
229
- *
230
212
* @dataProvider createFontShorthandProvider
231
213
*
232
214
* @test
233
215
*/
234
- public function createFontShorthand ($ sCss , $ sExpected ): void
216
+ public function createFontShorthand (string $ sCss , string $ sExpected ): void
235
217
{
236
218
$ oParser = new Parser ($ sCss );
237
219
$ oDoc = $ oParser ->parse ();
@@ -267,14 +249,11 @@ public static function createFontShorthandProvider(): array
267
249
}
268
250
269
251
/**
270
- * @param string $sCss
271
- * @param string $sExpected
272
- *
273
252
* @dataProvider createDimensionsShorthandProvider
274
253
*
275
254
* @test
276
255
*/
277
- public function createDimensionsShorthand ($ sCss , $ sExpected ): void
256
+ public function createDimensionsShorthand (string $ sCss , string $ sExpected ): void
278
257
{
279
258
$ oParser = new Parser ($ sCss );
280
259
$ oDoc = $ oParser ->parse ();
@@ -305,14 +284,11 @@ public static function createDimensionsShorthandProvider(): array
305
284
}
306
285
307
286
/**
308
- * @param string $sCss
309
- * @param string $sExpected
310
- *
311
287
* @dataProvider createBackgroundShorthandProvider
312
288
*
313
289
* @test
314
290
*/
315
- public function createBackgroundShorthand ($ sCss , $ sExpected ): void
291
+ public function createBackgroundShorthand (string $ sCss , string $ sExpected ): void
316
292
{
317
293
$ oParser = new Parser ($ sCss );
318
294
$ oDoc = $ oParser ->parse ();
0 commit comments