<commit_before><?php

namespace Suyabay\Http\Transformers;

use Suyabay\User;
use Suyabay\Comment;
use League\Fractal;
use Suyabay\Http\Repository\UserRepository;

class CommentTransformer extends Fractal\TransformerAbstract
{
    public function transform(Comment $comment)
    {
        return [
            'comment_id'         => (int) $comment->id,
            'created_by'         => $comment->user_id,
            'episode_id'            => $comment->episode_id,
            'comments'           => $comment->comments,
            'date_created'       => $comment->created_at,
            'date_modified'      => $comment->updated_at
        ];
    }
}<commit_msg>[feature #120500993] modify CommentTransformer by removing unecessary space<commit_after><?php

namespace Suyabay\Http\Transformers;

use Suyabay\User;
use Suyabay\Comment;
use League\Fractal;
use Suyabay\Http\Repository\UserRepository;

class CommentTransformer extends Fractal\TransformerAbstract
{
    public function transform(Comment $comment)
    {
        return [
            'comment_id'    => (int) $comment->id,
            'created_by'    => $comment->user_id,
            'episode_id'    => $comment->episode_id,
            'comments'      => $comment->comments,
            'date_created'  => $comment->created_at,
            'date_modified' => $comment->updated_at
        ];
    }
}
{'fraction_non_alphanumeric': 0.11597374179431072, 'fraction_numerical': 0.006564551422319475, 'mean_word_length': 2.473417721518987, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 27, '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': '5618810', 'n_tokens_mistral': 422, 'n_tokens_neox': 412, 'n_words': 73}