File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ public function testCreatingEnumWithInvalidValue($value)
5757 */
5858 public function invalidValueProvider () {
5959 return [
60- "string " => [ 'test ' ] ,
61- "int " => [ 1234 ] ,
60+ "string " => array ( 'test ' ) ,
61+ "int " => array ( 1234 ) ,
6262 ];
6363 }
6464
@@ -73,9 +73,9 @@ public function testToString($expected, $enumObject)
7373
7474 public function toStringProvider () {
7575 return [
76- [ EnumFixture::FOO , new EnumFixture (EnumFixture::FOO )] ,
77- [ EnumFixture::BAR , new EnumFixture (EnumFixture::BAR )] ,
78- [( string ) EnumFixture::NUMBER , new EnumFixture (EnumFixture::NUMBER )] ,
76+ array ( EnumFixture::FOO , new EnumFixture (EnumFixture::FOO )) ,
77+ array ( EnumFixture::BAR , new EnumFixture (EnumFixture::BAR )) ,
78+ array (( string ) EnumFixture::NUMBER , new EnumFixture (EnumFixture::NUMBER )) ,
7979 ];
8080 }
8181
@@ -151,16 +151,16 @@ public function isValidProvider() {
151151 /**
152152 * Valid values
153153 */
154- [ 'foo ' , true ] ,
155- [ 42 , true ] ,
156- [ null , true ] ,
157- [ 0 , true ] ,
158- [ '' , true ] ,
159- [ false , true ] ,
154+ array ( 'foo ' , true ) ,
155+ array ( 42 , true ) ,
156+ array ( null , true ) ,
157+ array ( 0 , true ) ,
158+ array ( '' , true ) ,
159+ array ( false , true ) ,
160160 /**
161161 * Invalid values
162162 */
163- [ 'baz ' , false ]
163+ array ( 'baz ' , false )
164164 ];
165165 }
166166
You can’t perform that action at this time.
0 commit comments