6
6
7
7
class TestMslsGetSet extends MslsUnitTestCase {
8
8
9
- public function test_unset () {
9
+ public function test_unset (): void {
10
10
$ obj = new MslsGetSet ();
11
11
$ this ->assertTrue ( $ obj ->is_empty () );
12
12
@@ -17,7 +17,7 @@ public function test_unset() {
17
17
$ this ->assertTrue ( $ obj ->is_empty () );
18
18
}
19
19
20
- public function test_set_empty () {
20
+ public function test_set_empty (): void {
21
21
$ obj = new MslsGetSet ();
22
22
$ this ->assertTrue ( $ obj ->is_empty () );
23
23
@@ -28,7 +28,7 @@ public function test_set_empty() {
28
28
$ this ->assertTrue ( $ obj ->is_empty () );
29
29
}
30
30
31
- public function test_set () {
31
+ public function test_set (): void {
32
32
$ obj = new MslsGetSet ();
33
33
34
34
$ obj ->abc = 'test ' ;
@@ -37,7 +37,7 @@ public function test_set() {
37
37
$ this ->assertTrue ( isset ( $ obj ->abc ) );
38
38
}
39
39
40
- public function test_isset () {
40
+ public function test_isset (): void {
41
41
$ obj = new MslsGetSet ();
42
42
43
43
$ this ->assertTrue ( $ obj ->is_empty () );
@@ -48,15 +48,15 @@ public function test_isset() {
48
48
$ this ->assertEquals ( 'test ' , $ obj ->abc );
49
49
}
50
50
51
- public function test_has_value () {
51
+ public function test_has_value (): void {
52
52
$ obj = new MslsGetSet ();
53
53
54
54
$ obj ->a_key = 'test ' ;
55
55
56
56
$ this ->assertTrue ( $ obj ->has_value ( 'a_key ' ) );
57
57
}
58
58
59
- public function test_get_array () {
59
+ public function test_get_array (): void {
60
60
$ obj = new MslsGetSet ();
61
61
62
62
$ obj ->temp = 'test ' ;
0 commit comments