@@ -64,8 +64,7 @@ discard block |
||
| 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 |
||
| 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) |