Completed
Branch redis_lock (0ee3b1)
by Alexander
13:29
created
Classes/RedisLockStrategy.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         $port = 6379;
75 75
 
76 76
         if (\array_key_exists('port', $config)) {
77
-            $port = (int)$config['port'];
77
+            $port = (int) $config['port'];
78 78
         }
79 79
 
80 80
         if (!\array_key_exists('database', $config)) {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
         $this->ttl = 360;
85 85
         if (\array_key_exists('ttl', $config)) {
86
-            $this->ttl = (int)$config['ttl'];
86
+            $this->ttl = (int) $config['ttl'];
87 87
         }
88 88
 
89 89
         $this->subject = $subject;
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             $this->redis->auth($config['auth']);
95 95
         }
96 96
 
97
-        $this->redis->select((int)$config['database']);
97
+        $this->redis->select((int) $config['database']);
98 98
     }
99 99
 
100 100
     /**
Please login to merge, or discard this patch.
ext_emconf.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
  * writing. "version" and "dependencies" must not be touched!
11 11
  ***************************************************************/
12 12
 
13
-$EM_CONF[$_EXTKEY] = array (
13
+$EM_CONF[$_EXTKEY] = array(
14 14
 	'title' => 'Tourstrean Redis Lock Strategy',
15 15
 	'description' => 'Set a Lock Strategy for Redis with priority 100',
16 16
 	'category' => 'fe',
@@ -23,16 +23,16 @@  discard block
 block discarded – undo
23 23
 	'author_email' => '[email protected]',
24 24
 	'author_company' => NULL,
25 25
 	'constraints' => 
26
-	array (
26
+	array(
27 27
 		'depends' => 
28
-		array (
28
+		array(
29 29
 			'typo3' => '7.6.0-7.99.99',
30 30
 		),
31 31
 		'conflicts' => 
32
-		array (
32
+		array(
33 33
 		),
34 34
 		'suggests' => 
35
-		array (
35
+		array(
36 36
 		),
37 37
 	),
38 38
 );
Please login to merge, or discard this patch.