diff --git a/app/Composers/DashboardComposer.php b/app/Composers/DashboardComposer.php index 4d7bb3f7..57d44570 100644 --- a/app/Composers/DashboardComposer.php +++ b/app/Composers/DashboardComposer.php @@ -26,18 +26,43 @@ use Illuminate\Contracts\View\View; */ class DashboardComposer { - private $componentCount; - - private $incidentCount; - - private $incidentTemplateCount; - - private $scheduleCount; - - private $subscriberCount; + /** + * The component count. + * + * @var int + */ + protected $componentCount; /** - * DashboardComposer constructor. + * The incident count. + * + * @var int + */ + protected $incidentCount; + + /** + * The incident template count. + * + * @var int + */ + protected $incidentTemplateCount; + + /** + * The schedule count. + * + * @var int + */ + protected $scheduleCount; + + /** + * The subscriber count. + * + * @var int + */ + protected $subscriberCount; + + /** + * Create a new dashboard composer instance. */ public function __construct() { diff --git a/app/Presenters/ComponentGroupPresenter.php b/app/Presenters/ComponentGroupPresenter.php index d6e62a99..554a971f 100644 --- a/app/Presenters/ComponentGroupPresenter.php +++ b/app/Presenters/ComponentGroupPresenter.php @@ -20,6 +20,11 @@ class ComponentGroupPresenter extends BasePresenter implements Arrayable { use TimestampsTrait; + /** + * Flags for the enabled_components_lowest function. + * + * @var bool + */ protected $enabledComponentsLowest = false; /** diff --git a/app/Presenters/IncidentPresenter.php b/app/Presenters/IncidentPresenter.php index 57d49525..139860cb 100644 --- a/app/Presenters/IncidentPresenter.php +++ b/app/Presenters/IncidentPresenter.php @@ -29,6 +29,11 @@ class IncidentPresenter extends BasePresenter implements Arrayable */ protected $dates; + /** + * Flag for the latest function. + * + * @var bool + */ protected $latest = false; /**