Completed
Branch master (6ed6e7)
by Lars
07:57
created
src/Intraface/modules/debtor/Pdf.php 1 patch
Switch Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -53,17 +53,17 @@
 block discarded – undo
53 53
     function output($type = 'string', $filename = 'debtor.pdf')
54 54
     {
55 55
         switch ($type) {
56
-        case 'string':
57
-            return $this->doc->output();
58
-            break;
59
-        case 'file':
60
-            $data = $this->doc->output();
61
-            return $this->doc->writeDocument($data, $filename);
62
-            break;
63
-        case 'stream':
64
-        default:
65
-            return $this->doc->stream();
66
-            break;
56
+            case 'string':
57
+                return $this->doc->output();
58
+                break;
59
+            case 'file':
60
+                $data = $this->doc->output();
61
+                return $this->doc->writeDocument($data, $filename);
62
+                break;
63
+            case 'stream':
64
+            default:
65
+                return $this->doc->stream();
66
+                break;
67 67
         }
68 68
     }
69 69
 
Please login to merge, or discard this patch.