File tree Expand file tree Collapse file tree 7 files changed +24
-8
lines changed Expand file tree Collapse file tree 7 files changed +24
-8
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,10 @@ final class CSSListTest extends TestCase
1515{
1616 /**
1717 * @test
18+ *
19+ * @return void
1820 */
19- public function implementsCSSElement (): void
21+ public function implementsCSSElement ()
2022 {
2123 $ subject = new ConcreteCSSList ();
2224
Original file line number Diff line number Diff line change 99
1010final class ConcreteCSSList extends CSSList
1111{
12- public function isRootList (): bool
12+ /**
13+ * @return never
14+ */
15+ public function isRootList ()
1316 {
1417 throw new \BadMethodCallException ('Not implemented ' , 1740395831 );
1518 }
1619
17- public function render (OutputFormat $ outputFormat ): string
20+ /**
21+ * @param OutputFormat|null $outputFormat
22+ *
23+ * @return never
24+ */
25+ public function render ($ outputFormat )
1826 {
1927 throw new \BadMethodCallException ('Not implemented ' , 1740395836 );
2028 }
Original file line number Diff line number Diff line change @@ -18,8 +18,10 @@ final class RuleTest extends TestCase
1818{
1919 /**
2020 * @test
21+ *
22+ * @return void
2123 */
22- public function implementsCSSElement (): void
24+ public function implementsCSSElement ()
2325 {
2426 $ subject = new Rule ('beverage-container ' );
2527
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ final class ConcreteRuleSet extends RuleSet
1212 /**
1313 * @return never
1414 */
15- public function render (OutputFormat $ outputFormat ): string
15+ public function render (OutputFormat $ outputFormat )
1616 {
1717 throw new \BadMethodCallException ('Nothing to see here :/ ' , 1744067015 );
1818 }
Original file line number Diff line number Diff line change @@ -15,8 +15,10 @@ final class RuleSetTest extends TestCase
1515{
1616 /**
1717 * @test
18+ *
19+ * @return void
1820 */
19- public function implementsCSSElement (): void
21+ public function implementsCSSElement ()
2022 {
2123 $ subject = new ConcreteRuleSet ();
2224
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ final class ConcreteValue extends Value
1212 /**
1313 * @return never
1414 */
15- public function render (OutputFormat $ outputFormat ): string
15+ public function render (OutputFormat $ outputFormat )
1616 {
1717 throw new \BadMethodCallException ('Nothing to see here :/ ' , 1744067951 );
1818 }
Original file line number Diff line number Diff line change @@ -16,8 +16,10 @@ final class ValueTest extends TestCase
1616{
1717 /**
1818 * @test
19+ *
20+ * @return void
1921 */
20- public function implementsCSSElement (): void
22+ public function implementsCSSElement ()
2123 {
2224 $ subject = new ConcreteValue ();
2325
You can’t perform that action at this time.
0 commit comments