File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,15 @@ public function run()
4141 $ countUsers = User::count ();
4242 $ lastMonthRegistered = User::query ()->whereBetween ('created_at ' , [
4343 $ lastMonth ->startOfMonth ()->format ('Y-m-d ' ),
44- $ lastMonth ->endOfMonth ()->format ('Y-m-d ' )
44+ $ lastMonth ->endOfMonth ()->format ('Y-m-d ' ),
4545 ])->count ();
4646 $ currentMonthRegistered = User::query ()->where ('created_at ' , '>= ' , now ()->startOfMonth ())->count ();
4747 $ difference = $ currentMonthRegistered - $ lastMonthRegistered ;
4848
4949 $ countArticles = Article::count ();
5050 $ lastMonthArticles = Article::query ()->whereBetween ('created_at ' , [
5151 $ lastMonth ->startOfMonth ()->format ('Y-m-d ' ),
52- $ lastMonth ->endOfMonth ()->format ('Y-m-d ' )
52+ $ lastMonth ->endOfMonth ()->format ('Y-m-d ' ),
5353 ])->count ();
5454 $ currentMonthArticles = Article::query ()->where ('created_at ' , '>= ' , now ()->startOfMonth ())->count ();
5555 $ differenceArticle = $ currentMonthArticles - $ lastMonthArticles ;
You can’t perform that action at this time.
0 commit comments