Passed
Push — master ( 054b32...1c77af )
by Ron
07:39 queued 12s
created
app/Http/Controllers/Installer/SettingsController.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,14 +74,16 @@
 block discarded – undo
74 74
         ]);
75 75
 
76 76
         //  Update the site timezone
77
-        if (config('app.timezone') !== $request->timezone) {
77
+        if (config('app.timezone') !== $request->timezone)
78
+        {
78 79
             Settings::firstOrCreate(
79 80
                 ['key'   => 'app.timezone'],
80 81
                 ['key'   => 'app.timezone', 'value' => $request->timezone]
81 82
             )->update(['value' => $request->timezone]);
82 83
         }
83 84
         //  Update the maximum file upload size
84
-        if (config('filesystems.paths.max_size') !== $request->filesize) {
85
+        if (config('filesystems.paths.max_size') !== $request->filesize)
86
+        {
85 87
             Settings::firstOrCreate(
86 88
                 ['key'   => 'filesystems.paths.max_size'],
87 89
                 ['key'   => 'filesystems.paths.max_size', 'value' => $request->filesize]
Please login to merge, or discard this patch.
app/Http/Controllers/Customers/CustomerContactsController.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,8 @@
 block discarded – undo
128 128
 
129 129
         //  Update the primary contact information
130 130
         $details = Customers::find($request->cust_id);
131
-        if ($details->parent_id && $request->shared == 'true') {
131
+        if ($details->parent_id && $request->shared == 'true')
132
+        {
132 133
             $request->cust_id = $details->parent_id;
133 134
         }
134 135
 
Please login to merge, or discard this patch.
app/Http/Controllers/Customers/CustomerNotesController.php 1 patch
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,8 @@  discard block
 block discarded – undo
29 29
 
30 30
         //  Determine if the note should go to the customer, or its parent
31 31
         $details = Customers::find($request->cust_id);
32
-        if ($details->parent_id && $request->shared == 'true') {
32
+        if ($details->parent_id && $request->shared == 'true')
33
+        {
33 34
             $request->cust_id = $details->parent_id;
34 35
         }
35 36
 
@@ -55,7 +56,8 @@  discard block
 block discarded – undo
55 56
 
56 57
         //  Determine if there is a parent site with shared contacts
57 58
         $parent = Customers::find($id)->parent_id;
58
-        if ($parent) {
59
+        if ($parent)
60
+        {
59 61
             $parentList = CustomerNotes::where('cust_id', $parent)->where('shared', 1)->orderBy('urgent', 'desc')->get();
60 62
 
61 63
             $notes = $notes->merge($parentList);
@@ -76,7 +78,8 @@  discard block
 block discarded – undo
76 78
         ]);
77 79
 
78 80
         $details = Customers::find($request->cust_id);
79
-        if ($details->parent_id && $request->shared == 'true') {
81
+        if ($details->parent_id && $request->shared == 'true')
82
+        {
80 83
             $request->cust_id = $details->parent_id;
81 84
         }
82 85
 
Please login to merge, or discard this patch.
app/Http/Controllers/Customers/CustomerFilesController.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,8 @@  discard block
 block discarded – undo
111 111
 
112 112
         //  Determine if there is a parent site with shared files
113 113
         $parent = Customers::find($id)->parent_id;
114
-        if ($parent) {
114
+        if ($parent)
115
+        {
115 116
             $parentList = Customerfiles::where('cust_id', $parent)
116 117
                 ->where('shared', 1)
117 118
                 ->with('Files')
@@ -135,7 +136,8 @@  discard block
 block discarded – undo
135 136
         ]);
136 137
 
137 138
         $details = Customers::find($request->cust_id);
138
-        if ($details->parent_id && $request->shared == 1) {
139
+        if ($details->parent_id && $request->shared == 1)
140
+        {
139 141
             $request->cust_id = $details->parent_id;
140 142
         }
141 143
 
Please login to merge, or discard this patch.