This commit is contained in:
James Brooks
2015-06-20 11:58:47 +01:00
parent 5b1c7a69dd
commit 986fb4c588

View File

@@ -22,7 +22,7 @@ class MetricPointSeeder extends Seeder
MetricPoint::truncate();
// Generate 11 hours of metric points
for ($i=0; $i < 11; $i++) {
for ($i = 0; $i < 11; $i++) {
$metricTime = (new DateTime())->sub(new DateInterval('PT'.$i.'H'));
$point = MetricPoint::create([