Passed
Push — dev6 ( 547e26...d08fa1 )
by Ron
21:59
created
app/Traits/Notifiable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
      */
15 15
     public function notifications()
16 16
     {
17
-        return $this->morphMany(Notification::class, 'notifiable')->orderBy('created_at', 'desc');;
17
+        return $this->morphMany(Notification::class, 'notifiable')->orderBy('created_at', 'desc'); ;
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
app/Listeners/Notify/NotifyUpdatedTechTip.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@
 block discarded – undo
19 19
         if($event->notify)
20 20
         {
21 21
             $notificationType = UserSettingType::where('name', 'Receive Email Notifications')->first();
22
-            $userList = User::whereHas('UserSetting', function($q) use ($notificationType)
23
-            {
22
+            $userList = User::whereHas('UserSetting', function($q) use ($notificationType) {
24 23
                 $q->where('setting_type_id', $notificationType->setting_type_id)->where('value', true);
25 24
             })->get();
26 25
 
Please login to merge, or discard this patch.
app/Actions/BuildNavbar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         $admin   = $this->getAdminNavbar();
21 21
         $navBar  = $this->getPrimaryNavbar();
22 22
         $modules = $this->getModules();
23
-        array_splice($navBar, 1, 0, $admin);    //  Move the Admin link just under the Dashboard link
23
+        array_splice($navBar, 1, 0, $admin); //  Move the Admin link just under the Dashboard link
24 24
 
25 25
         return array_merge($navBar, $modules);
26 26
     }
Please login to merge, or discard this patch.
app/Actions/BuildAdminMenu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
             if(count($modNav) > 0)
212 212
             {
213 213
                 //  Split Camel Case name into normal name
214
-                $nav[implode(' ',preg_split('/(?=[A-Z])/', $module->getName()))] = $modNav;
214
+                $nav[implode(' ', preg_split('/(?=[A-Z])/', $module->getName()))] = $modNav;
215 215
             }
216 216
         }
217 217
 
Please login to merge, or discard this patch.
app/Console/Commands/DisableModuleCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 
10 10
 class DisableModuleCommand extends Command
11 11
 {
12
-    protected $signature  = 'tb_module:disable {module}';
12
+    protected $signature = 'tb_module:disable {module}';
13 13
     protected $description = 'Disable, but do not remove a Tech Bench Add On Module';
14 14
 
15 15
     protected $module;
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/ResetPasswordSubmitController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,7 @@
 block discarded – undo
25 25
     public function __invoke(ResetTokenRequest $request)
26 26
     {
27 27
         $status = Password::reset(
28
-            $request->only('email', 'password', 'password_confirmation', 'token'), function($user, $password)
29
-            {
28
+            $request->only('email', 'password', 'password_confirmation', 'token'), function($user, $password) {
30 29
                 //  Determine the new expiration date
31 30
                 $expires = config('auth.passwords.settings.expire') ? Carbon::now()->addDays(config('auth.passwords.settings.expire')) : null;
32 31
 
Please login to merge, or discard this patch.
app/Policies/EquipmentTypePolicy.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
     use AllowTrait;
12 12
     use HandlesAuthorization;
13 13
 
14
-     /**
15
-     * Determine whether the user can create models
16
-     */
14
+        /**
15
+         * Determine whether the user can create models
16
+         */
17 17
     public function create(User $user)
18 18
     {
19 19
         return $this->checkPermission($user, 'Manage Equipment');
Please login to merge, or discard this patch.
app/Policies/EquipmentCategoryPolicy.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
     use HandlesAuthorization;
13 13
 
14 14
         /**
15
-     * Determine whether the user can create models
16
-     */
15
+         * Determine whether the user can create models
16
+         */
17 17
     public function create(User $user)
18 18
     {
19 19
         return $this->checkPermission($user, 'Manage Equipment');
Please login to merge, or discard this patch.