File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,10 @@ public function testCreatingEnumWithInvalidValue($value)
56
56
* @return array
57
57
*/
58
58
public function invalidValueProvider () {
59
- return [
59
+ return array (
60
60
"string " => array ('test ' ),
61
61
"int " => array (1234 ),
62
- ] ;
62
+ ) ;
63
63
}
64
64
65
65
/**
@@ -72,11 +72,11 @@ public function testToString($expected, $enumObject)
72
72
}
73
73
74
74
public function toStringProvider () {
75
- return [
75
+ return array (
76
76
array (EnumFixture::FOO , new EnumFixture (EnumFixture::FOO )),
77
77
array (EnumFixture::BAR , new EnumFixture (EnumFixture::BAR )),
78
78
array ((string ) EnumFixture::NUMBER , new EnumFixture (EnumFixture::NUMBER )),
79
- ] ;
79
+ ) ;
80
80
}
81
81
82
82
/**
@@ -147,7 +147,7 @@ public function testIsValid($value, $isValid)
147
147
}
148
148
149
149
public function isValidProvider () {
150
- return [
150
+ return array (
151
151
/**
152
152
* Valid values
153
153
*/
@@ -161,7 +161,7 @@ public function isValidProvider() {
161
161
* Invalid values
162
162
*/
163
163
array ('baz ' , false )
164
- ] ;
164
+ ) ;
165
165
}
166
166
167
167
/**
You can’t perform that action at this time.
0 commit comments