Completed
Pull Request — master (#252)
by Gabriel
30:39
created
lib/Doctrine/Common/Cache/PredisCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
         }
70 70
 
71 71
         // No lifetime, use MSET
72
-        $response = (string) $this->client->mset(array_map(function ($value) {
72
+        $response = (string) $this->client->mset(array_map(function($value) {
73 73
             return serialize($value);
74 74
         }, $keysAndValues));
75 75
 
Please login to merge, or discard this patch.
lib/Doctrine/Common/Cache/LegacyMongoDBCache.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
             return false;
102 102
         }
103 103
 
104
-        if (! isset($result['ok'])) {
104
+        if ( ! isset($result['ok'])) {
105 105
             return true;
106 106
         }
107 107
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     {
116 116
         $result = $this->collection->remove(['_id' => $id]);
117 117
 
118
-        if (! isset($result['ok'])) {
118
+        if ( ! isset($result['ok'])) {
119 119
             return true;
120 120
         }
121 121
 
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         // Use remove() in lieu of drop() to maintain any collection indexes
131 131
         $result = $this->collection->remove();
132 132
 
133
-        if (! isset($result['ok'])) {
133
+        if ( ! isset($result['ok'])) {
134 134
             return true;
135 135
         }
136 136
 
Please login to merge, or discard this patch.
lib/Doctrine/Common/Cache/PhpFileCache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     {
33 33
         parent::__construct($directory, $extension, $umask);
34 34
 
35
-        self::$emptyErrorHandler = function () : void {
35
+        self::$emptyErrorHandler = function() : void {
36 36
         };
37 37
     }
38 38
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 
110 110
         restore_error_handler();
111 111
 
112
-        if (! isset($value['lifetime'])) {
112
+        if ( ! isset($value['lifetime'])) {
113 113
             return null;
114 114
         }
115 115
 
Please login to merge, or discard this patch.