File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
src/JohnKary/PHPUnit/Listener Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,14 @@ class SpeedTrapListener implements TestListener
47
47
*
48
48
* @var array
49
49
*/
50
- protected $ slow = array () ;
50
+ protected $ slow = [] ;
51
51
52
52
/**
53
53
* Construct a new instance.
54
54
*
55
55
* @param array $options
56
56
*/
57
- public function __construct (array $ options = array () )
57
+ public function __construct (array $ options = [] )
58
58
{
59
59
$ this ->loadOptions ($ options );
60
60
}
Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ public function testWithDataProvider($time)
43
43
}
44
44
public function provideTime ()
45
45
{
46
- return array (
47
- 'Rock ' => array ( 800 ) ,
48
- 'Chalk ' => array ( 700 ) ,
49
- 'Jayhawk ' => array ( 600 ) ,
50
- ) ;
46
+ return [
47
+ 'Rock ' => [ 800 ] ,
48
+ 'Chalk ' => [ 700 ] ,
49
+ 'Jayhawk ' => [ 600 ] ,
50
+ ] ;
51
51
}
52
52
53
53
/**
You can’t perform that action at this time.
0 commit comments