Passed
Push — dev6 ( 9db5ac...1a27fe )
by Ron
17:32
created
app/Http/Controllers/Customers/CustomerFilesController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@
 block discarded – undo
78 78
         $cust = Customer::findOrFail($id);
79 79
 
80 80
         return CustomerFile::where('cust_id', $id)
81
-                ->when($cust->parent_id, function($q) use ($cust)
82
-                {
81
+                ->when($cust->parent_id, function($q) use ($cust) {
83 82
                     $q->orWhere('cust_id', $cust->parent_id)->where('shared', true);
84 83
                 })
85 84
                 ->with('FileUpload')
Please login to merge, or discard this patch.