Completed
Push — 2.4 ( f4bb1c...1f4492 )
by James
132:27 queued 67:29
created
app/Http/Controllers/Dashboard/IncidentTemplateController.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 AltThree\Validator\ValidationException;
15 15
 use CachetHQ\Cachet\Integrations\Contracts\System;
16
-use CachetHQ\Cachet\Models\Incident;
17 16
 use CachetHQ\Cachet\Models\IncidentTemplate;
18 17
 use GrahamCampbell\Binput\Facades\Binput;
19 18
 use Illuminate\Contracts\Auth\Guard;
Please login to merge, or discard this patch.
app/Http/Controllers/Dashboard/SettingsController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -406,7 +406,7 @@
 block discarded – undo
406 406
      *
407 407
      * @param \CachetHQ\Cachet\Settings\Repository $setting
408 408
      *
409
-     * @return void
409
+     * @return \Illuminate\Http\RedirectResponse|null
410 410
      */
411 411
     protected function handleUpdateBanner(Repository $setting)
412 412
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Dashboard/UserController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      *
74 74
      * @param \CachetHQ\Cachet\Models\User $user
75 75
      *
76
-     * @return \Illuminate\View\View
76
+     * @return \Illuminate\Http\RedirectResponse
77 77
      */
78 78
     public function regenerateApiKey(User $user)
79 79
     {
Please login to merge, or discard this patch.
app/Http/Controllers/SetupController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     /**
183 183
      * Handles validation on step one of the setup form.
184 184
      *
185
-     * @return \Illuminate\Http\Response
185
+     * @return \Illuminate\Http\JsonResponse
186 186
      */
187 187
     public function postStep1()
188 188
     {
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     /**
213 213
      * Handles validation on step two of the setup form.
214 214
      *
215
-     * @return \Illuminate\Http\Response
215
+     * @return \Illuminate\Http\JsonResponse
216 216
      */
217 217
     public function postStep2()
218 218
     {
Please login to merge, or discard this patch.
app/Http/Controllers/StatusPageController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use CachetHQ\Cachet\Repositories\Metric\MetricRepository;
21 21
 use CachetHQ\Cachet\Services\Dates\DateFactory;
22 22
 use GrahamCampbell\Binput\Facades\Binput;
23
-use Illuminate\Routing\Controller;
24 23
 use Illuminate\Support\Facades\Auth;
25 24
 use Illuminate\Support\Facades\Config;
26 25
 use Illuminate\Support\Facades\Response;
Please login to merge, or discard this patch.
app/Models/Subscription.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     /**
63 63
      * Get the component relation.
64 64
      *
65
-     * @return \Illuminate\Database\Eloquent\Relations\HasOne
65
+     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
66 66
      */
67 67
     public function component()
68 68
     {
Please login to merge, or discard this patch.
app/Repositories/Metric/MetricRepository.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      * @param \CachetHQ\Cachet\Models\Metric $metric
91 91
      * @param int                            $hours
92 92
      *
93
-     * @return array
93
+     * @return \Illuminate\Support\Collection
94 94
      */
95 95
     public function listPointsToday(Metric $metric, $hours = 12)
96 96
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      *
117 117
      * @param \CachetHQ\Cachet\Models\Metric $metric
118 118
      *
119
-     * @return array
119
+     * @return \Illuminate\Support\Collection
120 120
      */
121 121
     public function listPointsForWeek(Metric $metric)
122 122
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      *
143 143
      * @param \CachetHQ\Cachet\Models\Metric $metric
144 144
      *
145
-     * @return array
145
+     * @return \Illuminate\Support\Collection
146 146
      */
147 147
     public function listPointsForMonth(Metric $metric)
148 148
     {
Please login to merge, or discard this patch.
app/Settings/Cache.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -94,6 +94,7 @@
 block discarded – undo
94 94
     /**
95 95
      * Returns the settings cache path.
96 96
      *
97
+     * @param string $env
97 98
      * @return string
98 99
      */
99 100
     protected function path($env)
Please login to merge, or discard this patch.
app/Bus/Handlers/Commands/Incident/CreateIncidentCommandHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use CachetHQ\Cachet\Models\Component;
20 20
 use CachetHQ\Cachet\Models\Incident;
21 21
 use CachetHQ\Cachet\Models\IncidentTemplate;
22
-use CachetHQ\Cachet\Models\Meta;
23 22
 use CachetHQ\Cachet\Services\Dates\DateFactory;
24 23
 use Carbon\Carbon;
25 24
 use Illuminate\Contracts\Auth\Guard;
Please login to merge, or discard this patch.