Completed
Pull Request — master (#7)
by
unknown
10:24
created
app/Http/Helpers.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
      *
103 103
      * @param string $module
104 104
      * @param array $possibleParameters
105
-     * @return boolean
105
+     * @return false|string
106 106
      */
107 107
     public static function resetSaveIndexParameters($module, $possibleParameters = ['search', 'orderbycolumn', 'orderbytype', 'relation'])
108 108
     {
Please login to merge, or discard this patch.
app/ImageCategory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     /**
81 81
      * Image link
82 82
      * 
83
-     * @return object
83
+     * @return \Illuminate\Database\Eloquent\Relations\HasMany
84 84
      */
85 85
     public function images(){
86 86
         
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/AdminModuleController.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,6 @@
 block discarded – undo
20 20
 use Illuminate\Support\Facades\View;
21 21
 use App\Http\Controllers\Controller;
22 22
 use Illuminate\Database\Eloquent\Builder;
23
-use Illuminate\Support\Facades\DB;
24
-use Carbon\Carbon;
25 23
 use App\Transaction;
26 24
 use App\User;
27 25
 
Please login to merge, or discard this patch.
Doc Comments   +6 added lines, -8 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     /**
152 152
      * Runs after store
153 153
      *
154
-     * @param $request
154
+     * @param Request $request
155 155
      */
156 156
     protected function afterStore($request, $model){
157 157
 
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
     /**
161 161
      * Runs after update
162 162
      *
163
-     * @param $request
163
+     * @param Request $request
164 164
      */
165 165
     protected function afterUpdate($request, $model){
166 166
 
@@ -169,8 +169,6 @@  discard block
 block discarded – undo
169 169
     /**
170 170
      * Save transaction
171 171
      *
172
-     * @param int $typeId
173
-     * @param string $text
174 172
      * @param $userId
175 173
      * @param $amount
176 174
      */
@@ -260,7 +258,7 @@  discard block
 block discarded – undo
260 258
      * Change ar result if necessary
261 259
      *
262 260
      * @param $arResult
263
-     * @return mixed
261
+     * @return string|null
264 262
      */
265 263
     public function changeEditResultField($arResult){
266 264
         return $arResult;
@@ -348,7 +346,7 @@  discard block
 block discarded – undo
348 346
      * Store a newly created resource in storage.
349 347
      *
350 348
      * @param  Request  $request
351
-     * @return Response
349
+     * @return \Illuminate\Http\RedirectResponse
352 350
      */
353 351
     public function store(Request $request) {
354 352
 
@@ -498,7 +496,7 @@  discard block
 block discarded – undo
498 496
      *
499 497
      * @param  Request  $request
500 498
      * @param  int  $id
501
-     * @return Response
499
+     * @return \Illuminate\Http\RedirectResponse
502 500
      */
503 501
     public function update(Request $request, $id) {
504 502
 
@@ -640,7 +638,7 @@  discard block
 block discarded – undo
640 638
      * Remove the specified resource from storage.
641 639
      *
642 640
      * @param  int  $id
643
-     * @return Response
641
+     * @return \Illuminate\Http\RedirectResponse
644 642
      */
645 643
 
646 644
     public function destroy($id) {
Please login to merge, or discard this patch.
app/Http/Controllers/Frontend/FrontendController.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,6 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
     /**
69 69
      * Reset all session fields
70
+     * @param \Illuminate\Http\Request $request
70 71
      */
71 72
     protected function _resetSessionFields($request){
72 73
 
@@ -130,6 +131,9 @@  discard block
 block discarded – undo
130 131
         return Page::findOrFail($id);
131 132
     }
132 133
 
134
+    /**
135
+     * @param integer $id
136
+     */
133 137
     protected function _getSettings($id){
134 138
 
135 139
         $settings = Settings::find($id);
@@ -145,8 +149,6 @@  discard block
 block discarded – undo
145 149
     /**
146 150
      * Save transaction
147 151
      *
148
-     * @param int $typeId
149
-     * @param string $text
150 152
      * @param $userId
151 153
      * @param $amount
152 154
      */
Please login to merge, or discard this patch.
app/Http/Controllers/Frontend/PageController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 namespace App\Http\Controllers\Frontend;
16 16
 
17 17
 
18
-use App\Application;
19 18
 use App\Campaign;
20 19
 use App\Payment;
21 20
 use App\Transaction;
Please login to merge, or discard this patch.
app/Providers/AuthServiceProvider.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
     /**
20 20
      * Register any application authentication / authorization services.
21 21
      *
22
-     * @param  \Illuminate\Contracts\Auth\Access\Gate  $gate
23 22
      * @return void
24 23
      */
25 24
     public function boot()
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Providers;
4 4
 
5
-use Illuminate\Contracts\Auth\Access\Gate as GateContract;
6 5
 use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
7 6
 
8 7
 class AuthServiceProvider extends ServiceProvider
Please login to merge, or discard this patch.
app/Providers/EventServiceProvider.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
     /**
22 22
      * Register any other events for your application.
23 23
      *
24
-     * @param  \Illuminate\Contracts\Events\Dispatcher  $events
25 24
      * @return void
26 25
      */
27 26
     public function boot()
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Providers;
4 4
 
5
-use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
6 5
 use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
7 6
 
8 7
 class EventServiceProvider extends ServiceProvider
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
     /**
20 20
      * Define your route model bindings, pattern filters, etc.
21 21
      *
22
-     * @param  \Illuminate\Routing\Router  $router
23 22
      * @return void
24 23
      */
25 24
     public function boot()
Please login to merge, or discard this patch.
app/Http/Middleware/MediaImageSelect.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
      *
26 26
      * @param \Illuminate\Http\Request $request
27 27
      * @param Closure $next
28
-     * @param array $models
29 28
      * @return mixed
30 29
      */
31 30
     public function handle(Request $request, Closure $next)
Please login to merge, or discard this patch.