File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -65,19 +65,19 @@ public function run()
6565 'count ' => $ countUsers ,
6666 'increase ' => $ difference > 0 ,
6767 'decreased ' => $ difference < 0 ,
68- 'current ' => max ( $ difference , 0 ) ,
68+ 'current ' => $ currentMonthRegistered ,
6969 ],
7070 'articles ' => [
7171 'count ' => $ countArticles ,
7272 'increase ' => $ differenceArticle > 0 ,
7373 'decreased ' => $ differenceArticle < 0 ,
74- 'current ' => max ( $ differenceArticle , 0 ) ,
74+ 'current ' => $ currentMonthArticles ,
7575 ],
7676 'views ' => [
7777 'count ' => $ totalViews ,
78- 'increase ' => $ difference > 0 ,
79- 'decreased ' => $ difference < 0 ,
80- 'current ' => max ( $ differenceViews , 0 ) ,
78+ 'increase ' => $ differenceViews > 0 ,
79+ 'decreased ' => $ differenceViews < 0 ,
80+ 'current ' => $ currentViews ,
8181 ],
8282 ]);
8383 }
You can’t perform that action at this time.
0 commit comments