<commit_before><?php namespace Tequilarapido\Helpers;

use Carbon\Carbon;
use Swift_MailTransport;
use Swift_Mailer;
use Swift_Message;
use Tequilarapido\Cli\Config\Config;

class MailHelper
{
    protected $confi;

    public function __construct(Config $config)
    {
        $this->config = $config;
    }

    /**
     * @param string $commandName
     */
    public function send($mail, $commandName)
    {
        // to & from
        $from = $this->config->getNotificationFrom();
        $to = $this->config->getNotificationTo();

        // Mail content
        $givenSubject = isset($mail['subject']) ? $mail['subject'] : '';
        $subject = '[' . $this->config->getProject() . '][' . $commandName . ']' . ' : ' . $givenSubject;

        $givenBody = isset($mail['body']) ? $mail['body'] : '';
        $body = array();<commit_msg>Fixed typo on $config property<commit_after><?php namespace Tequilarapido\Helpers;

use Carbon\Carbon;
use Swift_MailTransport;
use Swift_Mailer;
use Swift_Message;
use Tequilarapido\Cli\Config\Config;

class MailHelper
{
    protected $config;

    public function __construct(Config $config)
    {
        $this->config = $config;
    }

    /**
     * @param string $commandName
     */
    public function send($mail, $commandName)
    {
        // to & from
        $from = $this->config->getNotificationFrom();
        $to = $this->config->getNotificationTo();

        // Mail content
        $givenSubject = isset($mail['subject']) ? $mail['subject'] : '';
        $subject = '[' . $this->config->getProject() . '][' . $commandName . ']' . ' : ' . $givenSubject;

        $givenBody = isset($mail['body']) ? $mail['body'] : '';
        $body = array();
{'fraction_non_alphanumeric': 0.16862514688601646, 'fraction_numerical': 0.0, 'mean_word_length': 2.759381898454746, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3420255', 'n_tokens_mistral': 536, 'n_tokens_neox': 517, 'n_words': 103}