Completed
Pull Request — master (#218)
by Luís
03:11
created
lib/Doctrine/Common/Cache/MemcachedCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
     {
143 143
         $stats   = $this->memcached->getStats();
144 144
         $servers = $this->memcached->getServerList();
145
-        $key     = $servers[0]['host'] . ':' . $servers[0]['port'];
145
+        $key     = $servers[0]['host'].':'.$servers[0]['port'];
146 146
         $stats   = $stats[$key];
147 147
         return [
148 148
             Cache::STATS_HITS   => $stats['get_hits'],
Please login to merge, or discard this patch.
lib/Doctrine/Common/Cache/SQLite3Cache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     {
89 89
         $item = $this->findById($id);
90 90
 
91
-        if (!$item) {
91
+        if ( ! $item) {
92 92
             return false;
93 93
         }
94 94
 
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     {
168 168
         list($idField) = $fields = $this->getFields();
169 169
 
170
-        if (!$includeData) {
170
+        if ( ! $includeData) {
171 171
             $key = array_search(static::DATA_FIELD, $fields);
172 172
             unset($fields[$key]);
173 173
         }
Please login to merge, or discard this patch.