Skip to content

Commit 93dd901

Browse files
staabmsebastianbergmann
authored andcommitted
remove dead code
1 parent 30ae83d commit 93dd901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TextUI/Help.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct(?int $width = null, ?bool $withColor = null)
4747
foreach ($this->elements() as $options) {
4848
foreach ($options as $option) {
4949
if (isset($option['arg'])) {
50-
$this->lengthOfLongestOptionName = max($this->lengthOfLongestOptionName, isset($option['arg']) ? strlen($option['arg']) : 0);
50+
$this->lengthOfLongestOptionName = max($this->lengthOfLongestOptionName, strlen($option['arg']));
5151
}
5252
}
5353
}

0 commit comments

Comments
 (0)