Skip to content

Commit fbc3733

Browse files
committed
reformatted code
1 parent 69019fb commit fbc3733

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/Codeception/Module/Redis.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Codeception\Module;
44

55
use 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.
@@ -34,16 +34,16 @@
3434
*/
3535
class 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

0 commit comments

Comments
 (0)