Completed
Push — master ( 9fccf2...e212fc )
by Jan
01:53
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/ImageSelectController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,8 +113,7 @@
 block discarded – undo
113 113
         if ($validator->fails()) {
114 114
 
115 115
             $object->imagecategories()->associate(1);
116
-        }
117
-        else{
116
+        } else{
118 117
 
119 118
             $object->imagecategories()->associate($request->input('imagecategory_id'));
120 119
 
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/CommentController.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,8 +86,7 @@
 block discarded – undo
86 86
                 $object->commentstatuses()->associate(1);
87 87
             }
88 88
             
89
-        }
90
-        else{
89
+        } else{
91 90
 
92 91
             $object->commentstatuses()->associate($request->input('commentstatus_id'));
93 92
         }
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      * 
145 145
      * @param integer $id
146 146
      * @param Request $request
147
-     * @return Response
147
+     * @return \Illuminate\Http\RedirectResponse
148 148
      */
149 149
     public function approve($id, Request $request){
150 150
         
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      * 
187 187
      * @param integer $id
188 188
      * @param Request $request
189
-     * @return Response
189
+     * @return \Illuminate\Http\RedirectResponse
190 190
      */
191 191
     public function spam($id, Request $request){
192 192
         
Please login to merge, or discard this patch.
app/Http/Middleware/AddPublishedAt.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,7 @@
 block discarded – undo
31 31
         if($request->has('published')){
32 32
             
33 33
             $request->merge(['published_at' => \Carbon\Carbon::now()]);
34
-        }
35
-        else{
34
+        } else{
36 35
 
37 36
             $request->merge(['published_at' => NULL]);
38 37
         }
Please login to merge, or discard this patch.
app/AdminModelTrait.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,7 @@
 block discarded – undo
72 72
     {
73 73
         if(isset($this->excludedFromFind) == TRUE && is_array($this->excludedFromFind) == TRUE){
74 74
             return $query->select( array_diff(Schema::getColumnListing($this->table), $this->excludedFromFind) );
75
-        }
76
-        else{
75
+        } else{
77 76
             return $query;
78 77
         }
79 78
     }
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/DashboardController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,8 +126,7 @@
 block discarded – undo
126 126
         {
127 127
             return round((($thisValue / ($lastValue / 100)) - 100), $round);
128 128
 
129
-        }
130
-        else {
129
+        } else {
131 130
 
132 131
             return 0;
133 132
         }
Please login to merge, or discard this patch.
app/Http/Controllers/Frontend/FrontendController.php 2 patches
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.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
         if (view()->exists($strView)) {
48 48
             return view($strView, $this->_arViewData);
49
-        }
50
-        else{
49
+        } else{
51 50
             return abort(404);
52 51
         }
53 52
     }
@@ -136,8 +135,7 @@  discard block
 block discarded – undo
136 135
 
137 136
         if(!empty($settings)){
138 137
             return $settings['value'];
139
-        }
140
-        else{
138
+        } else{
141 139
             return NULL;
142 140
         }
143 141
     }
Please login to merge, or discard this patch.
app/Providers/AuthServiceProvider.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
      * 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.