@@ -34,7 +34,7 @@ public function tearDown(): void
34
34
/**
35
35
* @covers \PHPDraft\Model\Elements\ElementStructureElement::parse
36
36
*/
37
- public function testParse ()
37
+ public function testParse (): void
38
38
{
39
39
$ json = '{"element": "Cow", "content": "stuff", "meta": {"description": {"content": "desc"}}} ' ;
40
40
$ dep = [];
@@ -49,15 +49,15 @@ public function testParse()
49
49
/**
50
50
* @covers \PHPDraft\Model\Elements\ElementStructureElement::string_value
51
51
*/
52
- public function testStringValue ()
52
+ public function testStringValue (): void
53
53
{
54
54
$ this ->assertSame ('<li class="list-group-item mdl-list__item"><a class="code" title="" href="#object-"></a></li> ' , $ this ->class ->string_value ());
55
55
}
56
56
57
57
/**
58
58
* @covers \PHPDraft\Model\Elements\ElementStructureElement::__toString
59
59
*/
60
- public function testToString ()
60
+ public function testToString (): void
61
61
{
62
62
$ this ->set_reflection_property_value ('type ' , 'string ' );
63
63
@@ -67,7 +67,7 @@ public function testToString()
67
67
/**
68
68
* @covers \PHPDraft\Model\Elements\ElementStructureElement::__toString
69
69
*/
70
- public function testToStringCustomType ()
70
+ public function testToStringCustomType (): void
71
71
{
72
72
$ this ->set_reflection_property_value ('type ' , 'Cow ' );
73
73
@@ -77,7 +77,7 @@ public function testToStringCustomType()
77
77
/**
78
78
* @covers \PHPDraft\Model\Elements\ElementStructureElement::__toString
79
79
*/
80
- public function testToStringDescription ()
80
+ public function testToStringDescription (): void
81
81
{
82
82
$ this ->set_reflection_property_value ('type ' , 'Cow ' );
83
83
$ this ->set_reflection_property_value ('description ' , 'Something ' );
@@ -88,7 +88,7 @@ public function testToStringDescription()
88
88
/**
89
89
* @covers \PHPDraft\Model\Elements\ElementStructureElement::__toString
90
90
*/
91
- public function testToStringValue ()
91
+ public function testToStringValue (): void
92
92
{
93
93
$ this ->set_reflection_property_value ('type ' , 'Cow ' );
94
94
$ this ->set_reflection_property_value ('value ' , 'stuff ' );
@@ -99,7 +99,7 @@ public function testToStringValue()
99
99
/**
100
100
* @covers \PHPDraft\Model\Elements\ElementStructureElement::__toString
101
101
*/
102
- public function testToStringDescriptionAndValue ()
102
+ public function testToStringDescriptionAndValue (): void
103
103
{
104
104
$ this ->set_reflection_property_value ('type ' , 'Cow ' );
105
105
$ this ->set_reflection_property_value ('value ' , 'stuff ' );
0 commit comments