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()
65
65
'count ' => $ countUsers ,
66
66
'increase ' => $ difference > 0 ,
67
67
'decreased ' => $ difference < 0 ,
68
- 'current ' => max ( $ difference , 0 ) ,
68
+ 'current ' => $ currentMonthRegistered ,
69
69
],
70
70
'articles ' => [
71
71
'count ' => $ countArticles ,
72
72
'increase ' => $ differenceArticle > 0 ,
73
73
'decreased ' => $ differenceArticle < 0 ,
74
- 'current ' => max ( $ differenceArticle , 0 ) ,
74
+ 'current ' => $ currentMonthArticles ,
75
75
],
76
76
'views ' => [
77
77
'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 ,
81
81
],
82
82
]);
83
83
}
You can’t perform that action at this time.
0 commit comments