Loading src/SimplenewsStatsPage.php +4 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ class SimplenewsStatsPage { * * @var array */ protected $series; protected $series = []; /** * Number of clicks. Loading Loading @@ -360,6 +360,9 @@ class SimplenewsStatsPage { // Get first key(date). reset($dates); $start = key($dates); if (!$start) { $start = 'now'; } // Get last key(date). end($dates); Loading Loading
src/SimplenewsStatsPage.php +4 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ class SimplenewsStatsPage { * * @var array */ protected $series; protected $series = []; /** * Number of clicks. Loading Loading @@ -360,6 +360,9 @@ class SimplenewsStatsPage { // Get first key(date). reset($dates); $start = key($dates); if (!$start) { $start = 'now'; } // Get last key(date). end($dates); Loading