Completed
Branch develop (06733b)
by Eliurkis
02:58
created
src/CrudController.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -178,6 +178,9 @@  discard block
 block discarded – undo
178 178
 
179 179
     /* Private Actions */
180 180
 
181
+    /**
182
+     * @param Request $request
183
+     */
181 184
     protected function filters($entity, $request)
182 185
     {
183 186
         if ($request->query('filter')) {
@@ -219,6 +222,9 @@  discard block
 block discarded – undo
219 222
         }
220 223
     }
221 224
 
225
+    /**
226
+     * @param Request $request
227
+     */
222 228
     protected function paginate($entity, $request)
223 229
     {
224 230
         $rows = $entity->paginate($this->paginate);
@@ -236,6 +242,9 @@  discard block
 block discarded – undo
236 242
         return $rows;
237 243
     }
238 244
 
245
+    /**
246
+     * @param Request $request
247
+     */
239 248
     protected function search($entity, $request)
240 249
     {
241 250
         if ($request->get('q') != '') {
@@ -281,6 +290,9 @@  discard block
 block discarded – undo
281 290
         return $fields;
282 291
     }
283 292
 
293
+    /**
294
+     * @param Request $request
295
+     */
284 296
     protected function updateForeignRelations($row, $request)
285 297
     {
286 298
         $foreignRelations = $this->getForeignRelationsFields();
Please login to merge, or discard this patch.