This commit is contained in:
Adrien Poupa
2018-12-06 22:59:49 -05:00
parent 5433e1308f
commit cb9d9e4b01

View File

@@ -37,9 +37,10 @@ class DashboardComposer
private $subscriberCount;
/**
* DashboardComposer constructor
* DashboardComposer constructor.
*/
public function __construct() {
public function __construct()
{
if (is_null($this->componentCount)) {
$this->componentCount = Component::count();
}