1313final class DeclarationBlockTest extends TestCase
1414{
1515 /**
16- * @param string $sCss
17- * @param string $sExpected
18- *
1916 * @dataProvider expandBorderShorthandProvider
2017 *
2118 * @test
2219 */
23- public function expandBorderShorthand ($ sCss , $ sExpected ): void
20+ public function expandBorderShorthand (string $ sCss , string $ sExpected ): void
2421 {
2522 $ oParser = new Parser ($ sCss );
2623 $ oDoc = $ oParser ->parse ();
@@ -46,14 +43,11 @@ public static function expandBorderShorthandProvider(): array
4643 }
4744
4845 /**
49- * @param string $sCss
50- * @param string $sExpected
51- *
5246 * @dataProvider expandFontShorthandProvider
5347 *
5448 * @test
5549 */
56- public function expandFontShorthand ($ sCss , $ sExpected ): void
50+ public function expandFontShorthand (string $ sCss , string $ sExpected ): void
5751 {
5852 $ oParser = new Parser ($ sCss );
5953 $ oDoc = $ oParser ->parse ();
@@ -102,14 +96,11 @@ public static function expandFontShorthandProvider(): array
10296 }
10397
10498 /**
105- * @param string $sCss
106- * @param string $sExpected
107- *
10899 * @dataProvider expandBackgroundShorthandProvider
109100 *
110101 * @test
111102 */
112- public function expandBackgroundShorthand ($ sCss , $ sExpected ): void
103+ public function expandBackgroundShorthand (string $ sCss , string $ sExpected ): void
113104 {
114105 $ oParser = new Parser ($ sCss );
115106 $ oDoc = $ oParser ->parse ();
@@ -155,14 +146,11 @@ public static function expandBackgroundShorthandProvider(): array
155146 }
156147
157148 /**
158- * @param string $sCss
159- * @param string $sExpected
160- *
161149 * @dataProvider expandDimensionsShorthandProvider
162150 *
163151 * @test
164152 */
165- public function expandDimensionsShorthand ($ sCss , $ sExpected ): void
153+ public function expandDimensionsShorthand (string $ sCss , string $ sExpected ): void
166154 {
167155 $ oParser = new Parser ($ sCss );
168156 $ oDoc = $ oParser ->parse ();
@@ -193,14 +181,11 @@ public static function expandDimensionsShorthandProvider(): array
193181 }
194182
195183 /**
196- * @param string $sCss
197- * @param string $sExpected
198- *
199184 * @dataProvider createBorderShorthandProvider
200185 *
201186 * @test
202187 */
203- public function createBorderShorthand ($ sCss , $ sExpected ): void
188+ public function createBorderShorthand (string $ sCss , string $ sExpected ): void
204189 {
205190 $ oParser = new Parser ($ sCss );
206191 $ oDoc = $ oParser ->parse ();
@@ -224,14 +209,11 @@ public static function createBorderShorthandProvider(): array
224209 }
225210
226211 /**
227- * @param string $sCss
228- * @param string $sExpected
229- *
230212 * @dataProvider createFontShorthandProvider
231213 *
232214 * @test
233215 */
234- public function createFontShorthand ($ sCss , $ sExpected ): void
216+ public function createFontShorthand (string $ sCss , string $ sExpected ): void
235217 {
236218 $ oParser = new Parser ($ sCss );
237219 $ oDoc = $ oParser ->parse ();
@@ -267,14 +249,11 @@ public static function createFontShorthandProvider(): array
267249 }
268250
269251 /**
270- * @param string $sCss
271- * @param string $sExpected
272- *
273252 * @dataProvider createDimensionsShorthandProvider
274253 *
275254 * @test
276255 */
277- public function createDimensionsShorthand ($ sCss , $ sExpected ): void
256+ public function createDimensionsShorthand (string $ sCss , string $ sExpected ): void
278257 {
279258 $ oParser = new Parser ($ sCss );
280259 $ oDoc = $ oParser ->parse ();
@@ -305,14 +284,11 @@ public static function createDimensionsShorthandProvider(): array
305284 }
306285
307286 /**
308- * @param string $sCss
309- * @param string $sExpected
310- *
311287 * @dataProvider createBackgroundShorthandProvider
312288 *
313289 * @test
314290 */
315- public function createBackgroundShorthand ($ sCss , $ sExpected ): void
291+ public function createBackgroundShorthand (string $ sCss , string $ sExpected ): void
316292 {
317293 $ oParser = new Parser ($ sCss );
318294 $ oDoc = $ oParser ->parse ();
0 commit comments