diff --git a/app/Commands/Incident/UpdateIncidentCommand.php b/app/Commands/Incident/UpdateIncidentCommand.php index 1b565570..fba82bbd 100644 --- a/app/Commands/Incident/UpdateIncidentCommand.php +++ b/app/Commands/Incident/UpdateIncidentCommand.php @@ -111,7 +111,7 @@ final class UpdateIncidentCommand /** * Create a new update incident command instance. * - * @param \CachetHQ\Cachet\Models\Incident $name + * @param \CachetHQ\Cachet\Models\Incident $incident * @param string $name * @param int $status * @param string $message diff --git a/app/Commands/User/InviteTeamMemberCommand.php b/app/Commands/User/InviteTeamMemberCommand.php index adc4296b..927c4eea 100644 --- a/app/Commands/User/InviteTeamMemberCommand.php +++ b/app/Commands/User/InviteTeamMemberCommand.php @@ -32,7 +32,7 @@ final class InviteTeamMemberCommand /** * Create a new invite team member command instance. * - * @param string[] $email + * @param string[] $emails * * @return void */ diff --git a/app/Events/Component/ComponentWasAddedEvent.php b/app/Events/Component/ComponentWasAddedEvent.php index 74dfbdf0..0a0520cb 100644 --- a/app/Events/Component/ComponentWasAddedEvent.php +++ b/app/Events/Component/ComponentWasAddedEvent.php @@ -25,6 +25,8 @@ class ComponentWasAddedEvent implements ComponentEventInterface /** * Create a new component was added event instance. * + * @param Component $component + * * @return void */ public function __construct(Component $component) diff --git a/app/Events/Component/ComponentWasRemovedEvent.php b/app/Events/Component/ComponentWasRemovedEvent.php index 3e1677fb..702d3c43 100644 --- a/app/Events/Component/ComponentWasRemovedEvent.php +++ b/app/Events/Component/ComponentWasRemovedEvent.php @@ -25,6 +25,8 @@ class ComponentWasRemovedEvent implements ComponentEventInterface /** * Create a new component was removed event instance. * + * @param Component $component + * * @return void */ public function __construct(Component $component) diff --git a/app/Events/Component/ComponentWasUpdatedEvent.php b/app/Events/Component/ComponentWasUpdatedEvent.php index 341ba329..8c6ef5fc 100644 --- a/app/Events/Component/ComponentWasUpdatedEvent.php +++ b/app/Events/Component/ComponentWasUpdatedEvent.php @@ -25,6 +25,8 @@ class ComponentWasUpdatedEvent implements ComponentEventInterface /** * Create a new component was updated event instance. * + * @param Component $component + * * @return void */ public function __construct(Component $component) diff --git a/app/Events/ComponentGroup/ComponentGroupWasAddedEvent.php b/app/Events/ComponentGroup/ComponentGroupWasAddedEvent.php index f5492f94..31878db9 100644 --- a/app/Events/ComponentGroup/ComponentGroupWasAddedEvent.php +++ b/app/Events/ComponentGroup/ComponentGroupWasAddedEvent.php @@ -25,6 +25,8 @@ class ComponentGroupWasAddedEvent implements ComponentGroupEventInterface /** * Create a new component group was added event instance. * + * @param ComponentGroup $group + * * @return void */ public function __construct(ComponentGroup $group) diff --git a/app/Events/ComponentGroup/ComponentGroupWasRemovedEvent.php b/app/Events/ComponentGroup/ComponentGroupWasRemovedEvent.php index de57f607..59122ce4 100644 --- a/app/Events/ComponentGroup/ComponentGroupWasRemovedEvent.php +++ b/app/Events/ComponentGroup/ComponentGroupWasRemovedEvent.php @@ -25,6 +25,8 @@ class ComponentGroupWasRemovedEvent implements ComponentGroupEventInterface /** * Create a new component group was removed event instance. * + * @param ComponentGroup $group + * * @return void */ public function __construct(ComponentGroup $group) diff --git a/app/Events/ComponentGroup/ComponentGroupWasUpdatedEvent.php b/app/Events/ComponentGroup/ComponentGroupWasUpdatedEvent.php index c4487131..dad32944 100644 --- a/app/Events/ComponentGroup/ComponentGroupWasUpdatedEvent.php +++ b/app/Events/ComponentGroup/ComponentGroupWasUpdatedEvent.php @@ -25,6 +25,8 @@ class ComponentGroupWasUpdatedEvent implements ComponentGroupEventInterface /** * Create a new component group was updated event instance. * + * @param ComponentGroup $group + * * @return void */ public function __construct(ComponentGroup $group) diff --git a/app/Events/Incident/IncidentWasRemovedEvent.php b/app/Events/Incident/IncidentWasRemovedEvent.php index 0d888c73..c72b5ae5 100644 --- a/app/Events/Incident/IncidentWasRemovedEvent.php +++ b/app/Events/Incident/IncidentWasRemovedEvent.php @@ -24,6 +24,8 @@ class IncidentWasRemovedEvent implements IncidentEventInterface /** * Create a new incident was removed event instance. + * + * @param Incident $incident */ public function __construct(Incident $incident) { diff --git a/app/Events/Incident/IncidentWasReportedEvent.php b/app/Events/Incident/IncidentWasReportedEvent.php index 8a82792c..e7461ab5 100644 --- a/app/Events/Incident/IncidentWasReportedEvent.php +++ b/app/Events/Incident/IncidentWasReportedEvent.php @@ -25,6 +25,8 @@ class IncidentWasReportedEvent implements IncidentEventInterface /** * Create a new incident has reported event instance. * + * @param Incident $incident + * * @return void */ public function __construct(Incident $incident) diff --git a/app/Events/Incident/IncidentWasUpdatedEvent.php b/app/Events/Incident/IncidentWasUpdatedEvent.php index 73815b2e..194bdac2 100644 --- a/app/Events/Incident/IncidentWasUpdatedEvent.php +++ b/app/Events/Incident/IncidentWasUpdatedEvent.php @@ -25,6 +25,8 @@ class IncidentWasUpdatedEvent implements IncidentEventInterface /** * Create a new incident has updated event instance. * + * @param Incident $incident + * * @return void */ public function __construct(Incident $incident) diff --git a/app/Events/Incident/MaintenanceWasScheduledEvent.php b/app/Events/Incident/MaintenanceWasScheduledEvent.php index bc3cf27e..5e057145 100644 --- a/app/Events/Incident/MaintenanceWasScheduledEvent.php +++ b/app/Events/Incident/MaintenanceWasScheduledEvent.php @@ -25,6 +25,8 @@ class MaintenanceWasScheduledEvent implements IncidentEventInterface /** * Create a new maintenance has scheduled event instance. * + * @param Incident $incident + * * @return void */ public function __construct(Incident $incident) diff --git a/app/Events/Metric/MetricPointWasAddedEvent.php b/app/Events/Metric/MetricPointWasAddedEvent.php index 2fe4a294..463b075e 100644 --- a/app/Events/Metric/MetricPointWasAddedEvent.php +++ b/app/Events/Metric/MetricPointWasAddedEvent.php @@ -25,6 +25,8 @@ class MetricPointWasAddedEvent implements MetricEventInterface /** * Create a new metric point was added event instance. * + * @param MetricPoint $metric + * * @return void */ public function __construct(MetricPoint $metric) diff --git a/app/Events/Metric/MetricPointWasRemovedEvent.php b/app/Events/Metric/MetricPointWasRemovedEvent.php index a91ee78c..db38f0b3 100644 --- a/app/Events/Metric/MetricPointWasRemovedEvent.php +++ b/app/Events/Metric/MetricPointWasRemovedEvent.php @@ -25,6 +25,8 @@ class MetricPointWasRemovedEvent implements MetricEventInterface /** * Create a new metric point was removed event instance. * + * @param MetricPoint $memtricPoint + * * @return void */ public function __construct(MetricPoint $metricPoint) diff --git a/app/Events/Metric/MetricPointWasUpdatedEvent.php b/app/Events/Metric/MetricPointWasUpdatedEvent.php index ced26d84..6ff9bb17 100644 --- a/app/Events/Metric/MetricPointWasUpdatedEvent.php +++ b/app/Events/Metric/MetricPointWasUpdatedEvent.php @@ -25,6 +25,8 @@ class MetricPointWasUpdatedEvent implements MetricEventInterface /** * Create a new metric point was updated event instance. * + * @param MetricPoint $point + * * @return void */ public function __construct(MetricPoint $point) diff --git a/app/Events/Metric/MetricWasAddedEvent.php b/app/Events/Metric/MetricWasAddedEvent.php index 293ccd85..1a01ec69 100644 --- a/app/Events/Metric/MetricWasAddedEvent.php +++ b/app/Events/Metric/MetricWasAddedEvent.php @@ -25,6 +25,8 @@ class MetricWasAddedEvent implements MetricEventInterface /** * Create a new metric was added event instance. * + * @param Metric $metric + * * @return void */ public function __construct(Metric $metric) diff --git a/app/Events/Metric/MetricWasRemovedEvent.php b/app/Events/Metric/MetricWasRemovedEvent.php index fd948156..c55d7d23 100644 --- a/app/Events/Metric/MetricWasRemovedEvent.php +++ b/app/Events/Metric/MetricWasRemovedEvent.php @@ -25,6 +25,8 @@ class MetricWasRemovedEvent implements MetricEventInterface /** * Create a new metric was removed event instance. * + * @param Metric $metric + * * @return void */ public function __construct(Metric $metric) diff --git a/app/Events/Metric/MetricWasUpdatedEvent.php b/app/Events/Metric/MetricWasUpdatedEvent.php index 1acc84c2..c87d3d44 100644 --- a/app/Events/Metric/MetricWasUpdatedEvent.php +++ b/app/Events/Metric/MetricWasUpdatedEvent.php @@ -25,6 +25,8 @@ class MetricWasUpdatedEvent implements MetricEventInterface /** * Create a new metric was updated event instance. * + * @param Metric $metric + * * @return void */ public function __construct(Metric $metric) diff --git a/app/Events/Subscriber/SubscriberHasSubscribedEvent.php b/app/Events/Subscriber/SubscriberHasSubscribedEvent.php index dcf794fd..8f724cb0 100644 --- a/app/Events/Subscriber/SubscriberHasSubscribedEvent.php +++ b/app/Events/Subscriber/SubscriberHasSubscribedEvent.php @@ -25,6 +25,8 @@ class SubscriberHasSubscribedEvent implements SubscriberEventInterface /** * Create a new subscriber has subscribed event instance. * + * @param Subscriber $subscriber + * * @return void */ public function __construct(Subscriber $subscriber) diff --git a/app/Events/Subscriber/SubscriberHasUnsubscribedEvent.php b/app/Events/Subscriber/SubscriberHasUnsubscribedEvent.php index 12feb11c..da28f2f3 100644 --- a/app/Events/Subscriber/SubscriberHasUnsubscribedEvent.php +++ b/app/Events/Subscriber/SubscriberHasUnsubscribedEvent.php @@ -25,6 +25,8 @@ class SubscriberHasUnsubscribedEvent implements SubscriberEventInterface /** * Create a new subscriber has unsubscribed event instance. * + * @param Subscriber $subscriber + * * @return void */ public function __construct(Subscriber $subscriber) diff --git a/app/Events/Subscriber/SubscriberHasVerifiedEvent.php b/app/Events/Subscriber/SubscriberHasVerifiedEvent.php index dc4af55c..f6c8df86 100644 --- a/app/Events/Subscriber/SubscriberHasVerifiedEvent.php +++ b/app/Events/Subscriber/SubscriberHasVerifiedEvent.php @@ -25,6 +25,8 @@ class SubscriberHasVerifiedEvent implements SubscriberEventInterface /** * Create a new subscriber has subscribed event instance. * + * @param Subscriber $subscriber + * * @return void */ public function __construct(Subscriber $subscriber) diff --git a/app/Events/User/UserWasAddedEvent.php b/app/Events/User/UserWasAddedEvent.php index d0e72749..1f02ef2d 100644 --- a/app/Events/User/UserWasAddedEvent.php +++ b/app/Events/User/UserWasAddedEvent.php @@ -25,6 +25,8 @@ final class UserWasAddedEvent implements UserEventInterface /** * Create a new user was added event instance. * + * @param User $user + * * @return void */ public function __construct(User $user) diff --git a/app/Events/User/UserWasInvitedEvent.php b/app/Events/User/UserWasInvitedEvent.php index fa083f27..b703b2a3 100644 --- a/app/Events/User/UserWasInvitedEvent.php +++ b/app/Events/User/UserWasInvitedEvent.php @@ -25,6 +25,8 @@ final class UserWasInvitedEvent /** * Create a new user was invite event instance. * + * @param Invite $invite + * * @return void */ public function __construct(Invite $invite) diff --git a/app/Events/User/UserWasRemovedEvent.php b/app/Events/User/UserWasRemovedEvent.php index 141d08a6..b0d57042 100644 --- a/app/Events/User/UserWasRemovedEvent.php +++ b/app/Events/User/UserWasRemovedEvent.php @@ -25,6 +25,8 @@ final class UserWasRemovedEvent implements UserEventInterface /** * Create a new user was removed event instance. * + * @param User $user + * * @return void */ public function __construct(User $user) diff --git a/app/Http/Controllers/Api/AbstractApiController.php b/app/Http/Controllers/Api/AbstractApiController.php index 57321409..f7978b93 100644 --- a/app/Http/Controllers/Api/AbstractApiController.php +++ b/app/Http/Controllers/Api/AbstractApiController.php @@ -173,8 +173,6 @@ abstract class AbstractApiController extends Controller /** * Respond with a no content response. * - * @param string $message - * * @return \Illuminate\Http\JsonResponse */ protected function noContent() diff --git a/app/Http/Controllers/Dashboard/TeamController.php b/app/Http/Controllers/Dashboard/TeamController.php index c8da2d28..dcc51208 100644 --- a/app/Http/Controllers/Dashboard/TeamController.php +++ b/app/Http/Controllers/Dashboard/TeamController.php @@ -43,6 +43,8 @@ class TeamController extends Controller /** * Shows the edit team member view. * + * @param User $user + * * @return \Illuminate\View\View */ public function showTeamMemberView(User $user) diff --git a/app/Http/Controllers/Dashboard/UserController.php b/app/Http/Controllers/Dashboard/UserController.php index f23f61be..6e7d2eb9 100644 --- a/app/Http/Controllers/Dashboard/UserController.php +++ b/app/Http/Controllers/Dashboard/UserController.php @@ -66,6 +66,8 @@ class UserController extends Controller /** * Regenerates the users API key. + * + * @param User $user * * @return \Illuminate\View\View */ diff --git a/app/Http/Middleware/AppIsSetup.php b/app/Http/Middleware/AppIsSetup.php index 4d6e1934..a5a8866a 100644 --- a/app/Http/Middleware/AppIsSetup.php +++ b/app/Http/Middleware/AppIsSetup.php @@ -23,8 +23,8 @@ class AppIsSetup * We're verifying that Cachet is correctly setup. If it is, then we're * redirecting the user to the dashboard so they can use Cachet. * - * @param \Illuminate\Routing\Route $route - * @param \Closure $next + * @param \Illuminate\Http\Request $request + * @param \Closure $next * * @return mixed */ diff --git a/app/Http/Middleware/Timezone.php b/app/Http/Middleware/Timezone.php index 15ddc9cd..00684209 100644 --- a/app/Http/Middleware/Timezone.php +++ b/app/Http/Middleware/Timezone.php @@ -20,7 +20,6 @@ class Timezone * * @param \Illuminate\Http\Request $request * @param \Closure $next - * @param string $type * * @return mixed */ diff --git a/app/Repositories/Metric/MetricInterface.php b/app/Repositories/Metric/MetricInterface.php index efa914bc..ebcbf81b 100644 --- a/app/Repositories/Metric/MetricInterface.php +++ b/app/Repositories/Metric/MetricInterface.php @@ -29,6 +29,7 @@ interface MetricInterface * Returns metrics for the week. * * @param \CachetHQ\Cachet\Models\Metric $metric + * @param $day * * @return int */