Passed
Push — dev5a ( e86993...328ab1 )
by Ron
10:15 queued 39s
created
app/Domains/Customers/GetCustomerContacts.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
     protected function getAllContacts($custID, $shared = false)
52 52
     {
53 53
         return CustomerContacts::where('cust_id', $custID)
54
-            ->when($shared, function($q)
55
-            {
54
+            ->when($shared, function($q) {
56 55
                 $q->where('shared', 1);
57 56
             })
58 57
             ->with('CustomerContactPhones')
Please login to merge, or discard this patch.
app/Domains/Customers/GetCustomerNotes.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,7 @@
 block discarded – undo
24 24
     protected function getNotes($custID, $shared = false)
25 25
     {
26 26
         return CustomerNotes::where('cust_id', $custID)
27
-            ->when($shared, function($q)
28
-            {
27
+            ->when($shared, function($q) {
29 28
                 $q->where('shared', 1);
30 29
             })
31 30
             ->orderBy('urgent', 'DESC')
Please login to merge, or discard this patch.
app/Domains/Files/SetFiles.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             $parts = pathinfo($name);
41 41
             $ext   = isset($parts['extension']) ? ('.'.$parts['extension']) : '';
42 42
             $base = $parts['filename'];
43
-             $number = 0;
43
+                $number = 0;
44 44
 
45 45
             do
46 46
             {
Please login to merge, or discard this patch.
app/Domains/Customers/getCustomerFiles.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,7 @@
 block discarded – undo
24 24
     protected function getAllFiles($custID, $shared = false)
25 25
     {
26 26
         return CustomerFiles::where('cust_id', $custID)
27
-            ->when($shared, function($q)
28
-            {
27
+            ->when($shared, function($q) {
29 28
                 $q->where('shared', 1);
30 29
             })
31 30
             ->with('Files')
Please login to merge, or discard this patch.
app/Domains/Customers/setCustomerFiles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             return false;
30 30
         }
31 31
 
32
-        $fileID   = $this->addDatabaseRow($filename, $this->path);
32
+        $fileID = $this->addDatabaseRow($filename, $this->path);
33 33
         $this->processCustFile($fileID, $userID, $request);
34 34
 
35 35
         return true;
Please login to merge, or discard this patch.