Completed
Push — 2.4 ( f4bb1c...1f4492 )
by James
132:27 queued 67:29
created
app/Bus/Events/ComponentGroup/ComponentGroupWasCreatedEvent.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@
 block discarded – undo
39 39
     /**
40 40
      * Create a new component group was added event instance.
41 41
      *
42
-     * @param \CachetHQ\Cachet\Models\User           $group
43
-     * @param \CachetHQ\Cachet\Models\ComponentGroup $group
42
+     * @param ComponentGroup           $group
43
+     * @param ComponentGroup $group
44 44
      *
45 45
      * @return void
46 46
      */
Please login to merge, or discard this patch.
app/Bus/Events/Metric/MetricPointWasRemovedEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      * Create a new metric point was removed event instance.
36 36
      *
37 37
      * @param \CachetHQ\Cachet\Models\User        $user
38
-     * @param \CachetHQ\Cachet\Models\MetricPoint $memtricPoint
38
+     * @param \CachetHQ\Cachet\Models\MetricPoint $metricPoint
39 39
      *
40 40
      * @return void
41 41
      */
Please login to merge, or discard this patch.
Bus/Handlers/Commands/IncidentUpdate/CreateIncidentUpdateCommandHandler.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace CachetHQ\Cachet\Bus\Handlers\Commands\IncidentUpdate;
13 13
 
14
-use CachetHQ\Cachet\Bus\Commands\Incident\UpdateIncidentCommand;
15 14
 use CachetHQ\Cachet\Bus\Commands\IncidentUpdate\CreateIncidentUpdateCommand;
15
+use CachetHQ\Cachet\Bus\Commands\Incident\UpdateIncidentCommand;
16 16
 use CachetHQ\Cachet\Bus\Events\IncidentUpdate\IncidentUpdateWasReportedEvent;
17 17
 use CachetHQ\Cachet\Models\IncidentUpdate;
18 18
 use Illuminate\Contracts\Auth\Guard;
Please login to merge, or discard this patch.
Bus/Handlers/Commands/Subscriber/UnsubscribeSubscriptionCommandHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use CachetHQ\Cachet\Bus\Commands\Subscriber\UnsubscribeSubscriptionCommand;
15 15
 use CachetHQ\Cachet\Bus\Events\Subscriber\SubscriberHasUnsubscribedEvent;
16
-use CachetHQ\Cachet\Models\Subscription;
17 16
 
18 17
 class UnsubscribeSubscriptionCommandHandler
19 18
 {
Please login to merge, or discard this patch.
app/Bus/Handlers/Events/Incident/SendIncidentEmailNotificationHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      *
52 52
      * @param \CachetHQ\Cachet\Bus\Events\Incident\IncidentWasCreatedEvent $event
53 53
      *
54
-     * @return void
54
+     * @return false|null
55 55
      */
56 56
     public function handle(IncidentWasCreatedEvent $event)
57 57
     {
Please login to merge, or discard this patch.
app/helpers.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      *
65 65
      * @param string $date
66 66
      *
67
-     * @return \Jenssegers\Date\Date
67
+     * @return string
68 68
      */
69 69
     function formatted_date($date)
70 70
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Api/AbstractApiController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
     /**
178 178
      * Build the response.
179 179
      *
180
-     * @return \Illuminate\Http\Response
180
+     * @return \Illuminate\Http\JsonResponse
181 181
      */
182 182
     protected function respond()
183 183
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Api/MetricController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * Get all metrics.
27 27
      *
28
-     * @return \Illuminate\Database\Eloquent\Collection
28
+     * @return \Illuminate\Http\JsonResponse
29 29
      */
30 30
     public function index()
31 31
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Dashboard/ApiController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      *
32 32
      * @throws \Symfony\Component\HttpKernel\Exception\BadRequestHttpException
33 33
      *
34
-     * @return \CachetHQ\Cachet\Models\Component
34
+     * @return \Illuminate\Http\JsonResponse
35 35
      */
36 36
     public function postUpdateComponent(Component $component)
37 37
     {
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * Updates a components ordering.
60 60
      *
61
-     * @return array
61
+     * @return \Illuminate\Http\JsonResponse
62 62
      */
63 63
     public function postUpdateComponentOrder()
64 64
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     /**
92 92
      * Updates the order of component groups.
93 93
      *
94
-     * @return array
94
+     * @return \Illuminate\Http\JsonResponse
95 95
      */
96 96
     public function postUpdateComponentGroupOrder()
97 97
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace CachetHQ\Cachet\Http\Controllers\Dashboard;
13 13
 
14
-use CachetHQ\Cachet\Bus\Commands\Component\UpdateComponentCommand;
15 14
 use CachetHQ\Cachet\Bus\Commands\ComponentGroup\UpdateComponentGroupCommand;
15
+use CachetHQ\Cachet\Bus\Commands\Component\UpdateComponentCommand;
16 16
 use CachetHQ\Cachet\Http\Controllers\Api\AbstractApiController;
17 17
 use CachetHQ\Cachet\Models\Component;
18 18
 use CachetHQ\Cachet\Models\ComponentGroup;
Please login to merge, or discard this patch.