HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //var/www/ivs.kaunokolegija.lt/laravel/vendor/egulias/email-validator/src/Warning/QuotedPart.php
<?php

namespace Egulias\EmailValidator\Warning;

use UnitEnum;

class QuotedPart extends Warning
{
    public const CODE = 36;

    /**
     * @param UnitEnum|string|int|null $prevToken
     * @param UnitEnum|string|int|null $postToken
     */
    public function __construct($prevToken, $postToken)
    {
        if ($prevToken instanceof UnitEnum) {
            $prevToken = $prevToken->name;
        }

        if ($postToken instanceof UnitEnum) {
            $postToken = $postToken->name;
        }

        $this->message = "Deprecated Quoted String found between $prevToken and $postToken";
    }
}