Use the random_int function

This commit is contained in:
Graham Campbell
2015-11-22 20:05:39 +00:00
parent dab47820e0
commit 4b668a83ef
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ class DemoSeederCommand extends Command
MetricPoint::create([
'metric_id' => 1,
'value' => rand(1, 10),
'value' => random_int(1, 10),
'created_at' => $metricTime,
'updated_at' => $metricTime,
]);