<commit_before><?php

namespace App\View\Components;

use App\Models\TestDate;
use Illuminate\View\Component;

class SurveyReportLink extends Component
{
    /**
     * Survey ID
     *
     * @int $surveyID
     */
    public $surveyID;

    /**
     * Survey report link
     *
     * @string $surveyLink
     */
    public $surveyLink;

    /**
     * Create a new component instance.
     *
     *
     * @param int $surveyID
     * @return void
     */
    public function __construct(?int $surveyID)
    {
        $this->surveyID = $surveyID;

        $survey = TestDate::find($this->surveyID);

        if (!is_null($survey) && $survey->hasMedia('survey_report')) {
            $this->surveyLink = $survey->getFirstMediaUrl('survey_report');<commit_msg>Apply fixes from StyleCI<commit_after><?php

namespace App\View\Components;

use App\Models\TestDate;
use Illuminate\View\Component;

class SurveyReportLink extends Component
{
    /**
     * Survey ID.
     *
     * @int $surveyID
     */
    public $surveyID;

    /**
     * Survey report link.
     *
     * @string $surveyLink
     */
    public $surveyLink;

    /**
     * Create a new component instance.
     *
     *
     * @param int $surveyID
     *
     * @return void
     */
    public function __construct(?int $surveyID)
    {
        $this->surveyID = $surveyID;

        $survey = TestDate::find($this->surveyID);

        if (!is_null($survey) && $survey->hasMedia('survey_report')) {
            $this->surveyLink = $survey->getFirstMediaUrl('survey_report');
{'fraction_non_alphanumeric': 0.1344155844155844, 'fraction_numerical': 0.0, 'mean_word_length': 2.2787234042553193, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '6706202', 'n_tokens_mistral': 503, 'n_tokens_neox': 497, 'n_words': 96}