src/Viserio/Component/Cookie/AbstractCookie.php
protected function validateSameSite($sameSite)
    {
        if (! \in_array($sameSite, [self::SAMESITE_STRICT, self::SAMESITE_LAX], true)) {
            return false;
        }

        return $sameSite;
    }
protected function validateSameSite($sameSite)
    {
        if (! \in_array($sameSite, [self::SAMESITE_STRICT, self::SAMESITE_LAX], true)) {
            return false;
        }

        return $sameSite;
    }
Validate SameSite value.

@param bool|string $sameSite

@return bool|string