Completed
Pull Request — master (#43)
by Michael
12:40 queued 02:34
created
src/Views/Stats/StatsJsonView.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 						case 'cms_php_version':
152 152
 							if ((isset($item['cms_version']) && $item['cms_version'] !== null) && (isset($item['php_version']) && $item['php_version'] !== null))
153 153
 							{
154
-								$index = $item['cms_version'] . ' - ' . $item['php_version'];
154
+								$index = $item['cms_version'].' - '.$item['php_version'];
155 155
 								$cms_php_version[$index] = $item['count'];
156 156
 
157 157
 								$this->totalItems += $item['count'];
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 						case 'db_type_version':
163 163
 							if ((isset($item['db_type']) && $item['db_type'] !== null) && (isset($item['db_version']) && $item['db_version'] !== null))
164 164
 							{
165
-								$index = $item['db_type'] . ' - ' . $item['db_version'];
165
+								$index = $item['db_type'].' - '.$item['db_version'];
166 166
 								$db_type_version[$index] = $item['count'];
167 167
 
168 168
 								$this->totalItems += $item['count'];
@@ -278,12 +278,12 @@  discard block
 block discarded – undo
278 278
 					break;
279 279
 
280 280
 				case 'cms_php_version':
281
-					$index = $item['cms_version'] . ' - ' . $item['php_version'];
281
+					$index = $item['cms_version'].' - '.$item['php_version'];
282 282
 					$data[$this->source][$index] = $item['count'];
283 283
 					break;
284 284
 
285 285
 				case 'db_type_version':
286
-					$index = $item['db_type'] . ' - ' . $item['db_version'];
286
+					$index = $item['db_type'].' - '.$item['db_version'];
287 287
 					$data[$this->source][$index] = $item['count'];
288 288
 					break;
289 289
 
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
 					foreach ($dataGroup as $row)
327 327
 					{
328 328
 						$exploded = explode('.', $row['name']);
329
-						$version  = $exploded[0] . '.' . ($exploded[1] ?? '0');
329
+						$version  = $exploded[0].'.'.($exploded[1] ?? '0');
330 330
 
331 331
 						// If the container does not exist, add it
332 332
 						if (!isset($counts[$version]))
Please login to merge, or discard this patch.