private static function makeLine(string $text, ?string $comment, int $longestVarLength, int $padding): string
    {
        $output = str_repeat(' ', $padding).str_pad($text, $longestVarLength);

        if (null !== $comment) {
            $output .= ' '.self::COMMENT_DELIMINATOR.$comment;
        }

        return $output.PHP_EOL;
    }
private static function makeLine(string $text, ?string $comment, int $longestVarLength, int $padding): string
    {
        $output = str_repeat(' ', $padding).str_pad($text, $longestVarLength);

        if (null !== $comment) {
            $output .= ' '.self::COMMENT_DELIMINATOR.$comment;
        }

        return $output.PHP_EOL;
    }
private static function makeLine ( string $ text , ? string $ comment , int $ longestVarLength , int $ padding ) : string { $ output = str_repeat ( ' ' , $ padding ) . str_pad ( $ text , $ longestVarLength ) ; if ( null !== $ comment ) { $ output .= ' ' . self :: COMMENT_DELIMINATOR . $ comment ; } return $ output . PHP_EOL ; }
Returns a padded line with comment.

@param string $text
@param string $comment
@param int    $longestVarLength
@param int    $padding

@return string
Returns a padded line with comment .