Completed
Push — master ( be44c5...20f323 )
by Jan
07:43
created
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/ImageSelectController.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/CommentController.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/Middleware/AddPublishedAt.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/AdminModuleController.php 1 patch
Braces   +8 added lines, -18 removed lines patch added patch discarded remove patch
@@ -151,8 +151,7 @@  discard block
 block discarded – undo
151 151
         if ($this->paginateRows == NULL) {
152 152
 
153 153
             return env('ADMIN_PAGINATE', 10);
154
-        }
155
-        else{
154
+        } else{
156 155
 
157 156
             return $this->paginateRows;
158 157
         }
@@ -219,8 +218,7 @@  discard block
 block discarded – undo
219 218
          */
220 219
         if(empty($this->customView['index']) == TRUE){
221 220
             $view = $this->moduleBasicTemplatePath . '.index';
222
-        }
223
-        else{
221
+        } else{
224 222
             $view = $this->customView;
225 223
         } 
226 224
         
@@ -242,8 +240,7 @@  discard block
 block discarded – undo
242 240
          */
243 241
         if(empty($this->customView['index']) == TRUE){
244 242
             $view = $this->moduleBasicTemplatePath . '.create_edit';
245
-        }
246
-        else{
243
+        } else{
247 244
             $view = $this->customView;
248 245
         }
249 246
         
@@ -349,8 +346,7 @@  discard block
 block discarded – undo
349 346
          */
350 347
         if(empty($this->customView['index']) == TRUE){
351 348
             $view = $this->moduleBasicTemplatePath . '.create_edit';
352
-        }
353
-        else{
349
+        } else{
354 350
             $view = $this->customView;
355 351
         }
356 352
     
@@ -431,17 +427,14 @@  discard block
 block discarded – undo
431 427
                  * if($request->has($name)){
432 428
                     $this->arValidationArray[$name] = $value . ',' . $id;
433 429
                 }**/
434
-            }
435
-            else{
430
+            } else{
436 431
                 
437 432
                /**
438 433
                 * Empty exception
439 434
                 */
440 435
                if (empty($request->input($name)) == FALSE) {
441 436
                    $arResults->$name = $request->input($name);
442
-               }
443
-               
444
-               else{
437
+               } else{
445 438
                    
446 439
                    /**
447 440
                     * Numeric zero ?
@@ -449,9 +442,7 @@  discard block
 block discarded – undo
449 442
                    if(@is_numeric($request->input($name)) == TRUE){
450 443
                        
451 444
                       $arResults->$name = $request->input($name);
452
-                   }
453
-                   
454
-                   else{
445
+                   } else{
455 446
                     $arResults->$name = NULL;
456 447
                    }
457 448
                }
@@ -475,8 +466,7 @@  discard block
 block discarded – undo
475 466
                 
476 467
                 if (empty($request->$value) == FALSE) {
477 468
                    $arResults->$value = $request->$value;
478
-                }
479
-                else{
469
+                } else{
480 470
                     $arResults->$value = NULL;
481 471
                 }
482 472
             }
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.