|
@@ -26,7 +26,7 @@ |
|
|
block discarded – undo |
|
26
|
26
|
public function __construct(CsvConfigurationInterface $config, StreamInterface $stream) |
|
27
|
27
|
{ |
|
28
|
28
|
$this->types = $this->getTypes($config); |
|
29
|
|
- $this->maxTypeLength = array_reduce(array_keys($this->types), function ($orig, $type) { |
|
|
29
|
+ $this->maxTypeLength = array_reduce(array_keys($this->types), function($orig, $type) { |
|
30
|
30
|
return max(strlen($type), $orig); |
|
31
|
31
|
}, 0); |
|
32
|
32
|
$this->stream = $stream; |
Please login to merge, or discard this patch.