diff --git a/app/Models/Component.php b/app/Models/Component.php index d8eba890f..7d41391bd 100644 --- a/app/Models/Component.php +++ b/app/Models/Component.php @@ -17,18 +17,6 @@ use Illuminate\Database\Eloquent\SoftDeletes; use McCool\LaravelAutoPresenter\HasPresenter; use Watson\Validating\ValidatingTrait; -/** - * @property int $id - * @property string $name - * @property string $description - * @property int $status - * @property string $link - * @property int $order - * @property int $group_id - * @property \Carbon\Carbon $created_at - * @property \Carbon\Carbon $updated_at - * @property \Carbon\Carbon $deleted_at - */ class Component extends Model implements HasPresenter { use SoftDeletes, ValidatingTrait; diff --git a/app/Models/ComponentGroup.php b/app/Models/ComponentGroup.php index a8e44f393..659d79fe5 100644 --- a/app/Models/ComponentGroup.php +++ b/app/Models/ComponentGroup.php @@ -14,14 +14,6 @@ namespace CachetHQ\Cachet\Models; use Illuminate\Database\Eloquent\Model; use Watson\Validating\ValidatingTrait; -/** - * @property int $id - * @property string $name - * @property int $order - * @property \Carbon\Carbon $created_at - * @property \Carbon\Carbon $updated_at - * @property \Carbon\Carbon $deleted_at - */ class ComponentGroup extends Model { use ValidatingTrait; diff --git a/app/Models/Incident.php b/app/Models/Incident.php index 10db9647e..f24f53c8d 100644 --- a/app/Models/Incident.php +++ b/app/Models/Incident.php @@ -17,18 +17,6 @@ use Illuminate\Database\Eloquent\SoftDeletes; use McCool\LaravelAutoPresenter\HasPresenter; use Watson\Validating\ValidatingTrait; -/** - * @property int $id - * @property int $component_id - * @property string $name - * @property int $status - * @property string $message - * @property \Carbon\Carbon $scheduled_at - * @property \Carbon\Carbon $created_at - * @property \Carbon\Carbon $updated_at - * @property \Carbon\Carbon $deleted_at - * @property string $humanStatus - */ class Incident extends Model implements HasPresenter { use SoftDeletes, ValidatingTrait; diff --git a/app/Models/IncidentTemplate.php b/app/Models/IncidentTemplate.php index f61f3fa3c..ecb47fec7 100644 --- a/app/Models/IncidentTemplate.php +++ b/app/Models/IncidentTemplate.php @@ -15,14 +15,6 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; use Watson\Validating\ValidatingTrait; -/** - * @property int $id - * @property string $name - * @property string $slug - * @property string $template - * @property \Carbon\Carbon $created_at - * @property \Carbon\Carbon $updated_at - */ class IncidentTemplate extends Model { use ValidatingTrait; diff --git a/app/Models/Metric.php b/app/Models/Metric.php index 68916833a..3c4e399ab 100644 --- a/app/Models/Metric.php +++ b/app/Models/Metric.php @@ -20,17 +20,6 @@ use Jenssegers\Date\Date; use McCool\LaravelAutoPresenter\HasPresenter; use Watson\Validating\ValidatingTrait; -/** - * @property int $id - * @property string $name - * @property string $suffix - * @property string $description - * @property float $default_value - * @property int $calc_type - * @property int $display_chart - * @property \Carbon\Carbon $created_at - * @property \Carbon\Carbon $updated_at - */ class Metric extends Model implements HasPresenter { use ValidatingTrait; diff --git a/app/Models/MetricPoint.php b/app/Models/MetricPoint.php index 80f1bf16c..dc81847c2 100644 --- a/app/Models/MetricPoint.php +++ b/app/Models/MetricPoint.php @@ -15,13 +15,6 @@ use Illuminate\Database\Eloquent\Model; use McCool\LaravelAutoPresenter\HasPresenter; use Watson\Validating\ValidatingTrait; -/** - * @property int $id - * @property int $metric_id - * @property int $value - * @property \Carbon\Carbon $created_at - * @property \Carbon\Carbon $updated_at - */ class MetricPoint extends Model implements HasPresenter { use ValidatingTrait; diff --git a/app/Models/Setting.php b/app/Models/Setting.php index 01904f555..ccaf442e2 100644 --- a/app/Models/Setting.php +++ b/app/Models/Setting.php @@ -13,13 +13,6 @@ namespace CachetHQ\Cachet\Models; use Illuminate\Database\Eloquent\Model; -/** - * @property int $id - * @property string $name - * @property string $value - * @property \Carbon\Carbon $created_at - * @property \Carbon\Carbon $updated_at - */ class Setting extends Model { /** diff --git a/app/Models/Subscriber.php b/app/Models/Subscriber.php index 7962c20f7..4230a36a5 100644 --- a/app/Models/Subscriber.php +++ b/app/Models/Subscriber.php @@ -15,15 +15,6 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Watson\Validating\ValidatingTrait; -/** - * @property int $id - * @property string $email - * @property string $verify_code - * @property \Carbon\Carbon $verified_at - * @property \Carbon\Carbon $created_at - * @property \Carbon\Carbon $updated_at - * @property \Carbon\Carbon $deleted_at - */ class Subscriber extends Model { use SoftDeletes, ValidatingTrait; diff --git a/app/Models/Tag.php b/app/Models/Tag.php index 668fd24f4..f84633fcd 100644 --- a/app/Models/Tag.php +++ b/app/Models/Tag.php @@ -14,13 +14,6 @@ namespace CachetHQ\Cachet\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; -/** - * @property int $id - * @property string $name - * @property string $slug - * @property \Carbon\Carbon $created_at - * @property \Carbon\Carbon $updated_at - */ class Tag extends Model { /** diff --git a/app/Models/User.php b/app/Models/User.php index 8842f0b0f..a74864c95 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -20,19 +20,6 @@ use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Hash; use Watson\Validating\ValidatingTrait; -/** - * @property int $id - * @property string $username - * @property string $password - * @property string $remember_token - * @property string $google_2fa_secret - * @property string $email - * @property string $api_key - * @property int $active - * @property int $level - * @property \Carbon\Carbon $created_at - * @property \Carbon\Carbon $updated_at - */ class User extends Model implements AuthenticatableContract, CanResetPasswordContract { use Authenticatable, CanResetPassword, ValidatingTrait;