File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 33namespace Codeception \Module ;
44
55use Codeception \Exception \Module as ModuleException ;
6- use \ Codeception \Lib \Driver \Redis as RedisDriver ;
6+ use Codeception \Lib \Driver \Redis as RedisDriver ;
77
88/**
99 * Works with Redis database.
3434 */
3535class Redis extends \Codeception \Module
3636{
37- protected $ config = array (
37+ protected $ config = [
3838 'cleanup ' => true
39- ) ;
39+ ] ;
4040
4141 /**
4242 * @var RedisDriver
4343 */
4444 public $ driver ;
4545
46- protected $ requiredFields = array ( 'host ' , 'port ' , 'database ' ) ;
46+ protected $ requiredFields = [ 'host ' , 'port ' , 'database ' ] ;
4747
4848 public function _initialize ()
4949 {
@@ -72,7 +72,8 @@ public function _after(\Codeception\TestCase $test)
7272 /**
7373 * Cleans up Redis database.
7474 */
75- public function cleanupRedis () {
75+ public function cleanupRedis ()
76+ {
7677 $ this ->cleanup ();
7778 }
7879
You can’t perform that action at this time.
0 commit comments