Completed
Push — master ( 26a191...1a93ee )
by Jean
02:05
created
src/ExportTrait.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,8 +64,7 @@  discard block
 block discarded – undo
64 64
                     ]);
65 65
                 }, $call['arguments']));
66 66
                 $string .= ')';
67
-            }
68
-            else {
67
+            } else {
69 68
                 $string .= '[' . static::varExport($call['entry'], [
70 69
                     'short_objects' => $short_objects, 
71 70
                     'max_length' => $max_param_length,
@@ -105,8 +104,7 @@  discard block
 block discarded – undo
105 104
             if (is_object($variable)) {
106 105
                 // shortening short objects would only slow the workflow
107 106
                 $export = get_class($variable) . ' #' . spl_object_id($variable);
108
-            }
109
-            elseif (is_string($variable)) {
107
+            } elseif (is_string($variable)) {
110 108
                 $keep_length = floor(($options['max_length'] - 5) / 2);
111 109
                 
112 110
                 $export = substr($variable, 0, (int) $keep_length)
Please login to merge, or discard this patch.