src/Chiron/Http/Middleware/SecurityHeadersMiddleware.php
private function compileHeaders(): array
    {
        return array_merge(
            $this->security['settings']['enable-hsts'] ? $this->hsts() : [],
            $this->security['settings']['enable-hpkp'] ? $this->hpkp() : [],
            $this->security['settings']['enable-ect'] ? $this->ect() : [],
            $this->security['settings']['enable-extras'] ? $this->extras() : []
        );
    }
private function compileHeaders(): array
    {
        return array_merge(
            $this->security['settings']['enable-hsts'] ? $this->hsts() : [],
            $this->security['settings']['enable-hpkp'] ? $this->hpkp() : [],
            $this->security['settings']['enable-ect'] ? $this->ect() : [],
            $this->security['settings']['enable-extras'] ? $this->extras() : []
        );
    }
private function compileHeaders ( ) : array { return array_merge ( $ this -> security [ 'settings' ] [ 'enable-hsts' ] ? $ this -> hsts ( ) : [ ] , $ this -> security [ 'settings' ] [ 'enable-hpkp' ] ? $ this -> hpkp ( ) : [ ] , $ this -> security [ 'settings' ] [ 'enable-ect' ] ? $ this -> ect ( ) : [ ] , $ this -> security [ 'settings' ] [ 'enable-extras' ] ? $ this -> extras ( ) : [ ] ) ; }
Compile the security HTTP headers.

@return array
Compile the security HTTP headers .