Completed
Pull Request — master (#40)
by
unknown
01:54
created
src/Views/Stats/StatsJsonView.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
 					foreach ($dataGroup as $row)
271 271
 					{
272 272
 						$exploded = explode('.', $row['name']);
273
-						$version  = $exploded[0] . '.' . (isset($exploded[1]) ? $exploded[1] : '0');
273
+						$version  = $exploded[0].'.'.(isset($exploded[1]) ? $exploded[1] : '0');
274 274
 
275 275
 						// If the container does not exist, add it
276 276
 						if (!isset($counts[$version]))
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
 
357 357
 		foreach ($items as $item)
358 358
 		{
359
-			$data[$this->source][$item['cms_version'] . ':' . $item['php_version']]= $item['count'];
359
+			$data[$this->source][$item['cms_version'].':'.$item['php_version']] = $item['count'];
360 360
 			$this->totalItems += $item['count'];
361 361
 		}
362 362
 
Please login to merge, or discard this patch.