Code Duplication    Length = 4-4 lines in 2 locations

app/Http/Controllers/Admin/UserController.php 1 location

@@ 87-90 (lines=4) @@
84
        /**
85
         * Row does not exist - redirect
86
         */
87
        if($arResults == FALSE){
88
            
89
            return redirect(route($this->moduleBasicRoute . '.index'))->withInput()->withErrors(['edit' => trans('validation.row_not_exist')]);
90
        }
91
        
92
        /**
93
         * Set updated values

app/Http/Controllers/Admin/AdminModuleController.php 1 location

@@ 530-533 (lines=4) @@
527
        /**
528
         * Row does not exist - redirect
529
         */
530
        if ($arResults == FALSE) {
531
532
            return redirect(route($this->moduleBasicRoute . '.index'))->withInput()->withErrors(['edit' => trans('validation.row_not_exist')]);
533
        }
534
        
535
        /**
536
         * Reset cache