coding style
This commit is contained in:
@@ -66,6 +66,7 @@ class Stat
|
||||
->select($db::raw("count(id) as y, $var as name"))
|
||||
->groupBy($var)
|
||||
->get();
|
||||
|
||||
// var_Debug::message($data);
|
||||
return $data;
|
||||
}
|
||||
@@ -82,6 +83,7 @@ class Stat
|
||||
$y = (int) $nb[$key];
|
||||
$data[] = ['y' => $y, 'name' => $value];
|
||||
}
|
||||
|
||||
// var_Debug::message($data);
|
||||
return $data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user