Use Analyzer and fix several issues

This commit is contained in:
James Brooks
2018-06-17 00:39:24 +01:00
parent e37c882dfe
commit 3f4c423005
9 changed files with 124 additions and 70 deletions

View File

@@ -16,7 +16,7 @@ use CachetHQ\Cachet\Models\Invite;
/**
* This is the user was invited event class.
*
* @author Joseph Cohen <joealt-three.com>
* @author Joseph Cohen <joe@alt-three.com>
* @author Graham Campbell <graham@alt-three.com>
* @author James Brooks <james@alt-three.com>
*/

View File

@@ -61,7 +61,7 @@ class CreateComponentCommandHandler
/**
* Filter the command data.
*
* @param \CachetHQ\Cachet\Bus\Commands\Incident\CreateComponentCommand $command
* @param \CachetHQ\Cachet\Bus\Commands\Component\CreateComponentCommand $command
*
* @return array
*/

View File

@@ -64,7 +64,7 @@ class UpdateComponentCommandHandler
/**
* Filter the command data.
*
* @param \CachetHQ\Cachet\Bus\Commands\Incident\UpdateComponentCommand $command
* @param \CachetHQ\Cachet\Bus\Commands\Component\UpdateComponentCommand $command
*
* @return array
*/

View File

@@ -20,7 +20,7 @@ class ClaimInviteCommandHandler
/**
* Handle the claim invite command.
*
* @param \CachetHQ\Cachet\Bus\Commands\User\ClaimInviteCommand $command
* @param \CachetHQ\Cachet\Bus\Commands\Invite\ClaimInviteCommand $command
*
* @return void
*/

View File

@@ -44,7 +44,7 @@ class SendBeaconJobHandler
/**
* Handle the send beacon job.
*
* @param \CachetHQ\Cachet\Bus\Jobs\SendBeaconJob $job
* @param \CachetHQ\Cachet\Bus\Jobs\System\SendBeaconJob $job
*
* @return void
*/

View File

@@ -64,7 +64,7 @@ class MetricPointController extends AbstractApiController
* Updates a metric point.
*
* @param \CachetHQ\Cachet\Models\Metric $metric
* @param \CachetHQ\Cachet\Models\MetircPoint $metricPoint
* @param \CachetHQ\Cachet\Models\MetricPoint $metricPoint
*
* @return \Illuminate\Http\JsonResponse
*/