<commit_before><?php
/**
 * Forum presenter class.
 *
 * @version 1.0.0
 * @author MyBB Group
 * @license LGPL v3
 */

namespace MyBB\Core\Presenters;

use McCool\LaravelAutoPresenter\BasePresenter;
use MyBB\Core\Database\Models\Forum as ForumModel;

class Forum extends BasePresenter
{
    /** @var ForumModel $wrappedObject */

    /**
     * @param ForumModel $resource The forum being wrapped by this presenter.
     */
    public function __construct(ForumModel $resource)
    {
        $this->wrappedObject = $resource;
    }

    public function title()
    {
        return $this->wrappedObject->title;
    }
}
<commit_msg>Remove useless presenter method<commit_after><?php
/**
 * Forum presenter class.
 *
 * @version 1.0.0
 * @author MyBB Group
 * @license LGPL v3
 */

namespace MyBB\Core\Presenters;

use McCool\LaravelAutoPresenter\BasePresenter;
use MyBB\Core\Database\Models\Forum as ForumModel;

class Forum extends BasePresenter
{
    /** @var ForumModel $wrappedObject */

    /**
     * @param ForumModel $resource The forum being wrapped by this presenter.
     */
    public function __construct(ForumModel $resource)
    {
        $this->wrappedObject = $resource;
    }
}

{'fraction_non_alphanumeric': 0.11046025104602511, 'fraction_numerical': 0.0066945606694560665, 'mean_word_length': 3.1527777777777777, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6239835', 'n_tokens_mistral': 376, 'n_tokens_neox': 370, 'n_words': 94}