Passed
Push — main ( 2424ee...d9ea0f )
by PRATIK
12:27
created
src/Repositories/ProfileRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     protected function uploadProfile($profile)
37 37
     {
38 38
         $profile_pic = [
39
-            'storage' => 'admin/profile/' . isset($profile->user->name) ? str_replace(' ', '_', strtolower($profile->user->name)) : '',
39
+            'storage' => 'admin/profile/'.isset($profile->user->name) ? str_replace(' ', '_', strtolower($profile->user->name)) : '',
40 40
             'width' => '222',
41 41
             'height' => '222',
42 42
             'quality' => '70',
Please login to merge, or discard this patch.
src/Services/Adminetic.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -163,8 +163,8 @@  discard block
 block discarded – undo
163 163
         $children = [
164 164
             [
165 165
                 'type' => 'submenu',
166
-                'name' => 'All ' . $plural,
167
-                'is_active' => request()->routeIs($route . '.index') ? 'active' : '',
166
+                'name' => 'All '.$plural,
167
+                'is_active' => request()->routeIs($route.'.index') ? 'active' : '',
168 168
                 'link' => adminRedirectRoute($route),
169 169
                 'conditions' => [
170 170
                     [
@@ -175,8 +175,8 @@  discard block
 block discarded – undo
175 175
             ],
176 176
             [
177 177
                 'type' => 'submenu',
178
-                'name' => 'Create ' . $route,
179
-                'is_active' => request()->routeIs($route . '.create') ? 'active' : '',
178
+                'name' => 'Create '.$route,
179
+                'is_active' => request()->routeIs($route.'.create') ? 'active' : '',
180 180
                 'link' => adminCreateRoute($route),
181 181
                 'conditions' => [
182 182
                     [
Please login to merge, or discard this patch.
src/Http/Livewire/Admin/Profile/EditProfile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
                 'profile_pic' => $this->profile_pic->store('admin/user', 'public'),
90 90
             ]);
91 91
             $image = Image::make($this->profile_pic->getRealPath());
92
-            $image->save(public_path('storage/' . $profile->profile_pic));
92
+            $image->save(public_path('storage/'.$profile->profile_pic));
93 93
         }
94 94
     }
95 95
 
Please login to merge, or discard this patch.