cs fix
This commit is contained in:
parent
2ed8a90653
commit
ad48f2c00f
@ -24,12 +24,7 @@ class TrimmedBufferOutput extends Output
|
|||||||
private $maxLength;
|
private $maxLength;
|
||||||
private $buffer = '';
|
private $buffer = '';
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(int $maxLength, ?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = false, OutputFormatterInterface $formatter = null) {
|
||||||
int $maxLength,
|
|
||||||
?int $verbosity = self::VERBOSITY_NORMAL,
|
|
||||||
bool $decorated = false,
|
|
||||||
OutputFormatterInterface $formatter = null
|
|
||||||
) {
|
|
||||||
if ($maxLength <= 0) {
|
if ($maxLength <= 0) {
|
||||||
throw new InvalidArgumentException(sprintf('"%s()" expects a strictly positive maxLength. Got %d.', __METHOD__, $maxLength));
|
throw new InvalidArgumentException(sprintf('"%s()" expects a strictly positive maxLength. Got %d.', __METHOD__, $maxLength));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user