src/CSPBuilder.php
public function disableHttpsTransformOnHttpsConnections(): self
    {
        $this->needsCompile = ($this->needsCompile || $this->httpsTransformOnHttpsConnections !== false);
        $this->httpsTransformOnHttpsConnections = false;

        return $this;
    }
public function disableHttpsTransformOnHttpsConnections(): self
    {
        $this->needsCompile = ($this->needsCompile || $this->httpsTransformOnHttpsConnections !== false);
        $this->httpsTransformOnHttpsConnections = false;

        return $this;
    }
public function disableHttpsTransformOnHttpsConnections ( ) : self { $ this -> needsCompile = ( $ this -> needsCompile || $ this -> httpsTransformOnHttpsConnections !== false ) ; $ this -> httpsTransformOnHttpsConnections = false ; return $ this ; }
Disable that HTTP sources get converted to HTTPS if the connection is such.

@return self
Disable that HTTP sources get converted to HTTPS if the connection is such .