Skip to content

Commit

Permalink
Util\Help: rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Apr 25, 2024
1 parent 45a6d33 commit 68e4370
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Util/Help.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,11 @@ private function getMaxWidth()
*
* @return int
*/
private function getDescrColumnWidth()
private function getDescriptionColumnWidth()
{
return ($this->getMaxWidth() - $this->maxOptionNameLength - $this->indentWidth - $this->gutterWidth);

}//end getDescrColumnWidth()
}//end getDescriptionColumnWidth()


/**
Expand Down Expand Up @@ -324,7 +324,7 @@ private function printCategoryHeader($header)
*/
private function printCategoryOptions(array $options)
{
$maxDescriptionWidth = $this->getDescrColumnWidth();
$maxDescriptionWidth = $this->getDescriptionColumnWidth();
$maxTextWidth = ($this->getMaxWidth() - $this->indentWidth);
$secondLineIndent = str_repeat(' ', $this->getDescriptionFollowupLineIndentLength());

Expand Down

0 comments on commit 68e4370

Please sign in to comment.