app/libraries/Jentil/Utilities/Page.php
private function getType(): array
    {
        if (!$this->type || $this->is('customize_preview')) {
            $this->type = parent::type();
        }

        return $this->type;
    }
private function getType(): array
    {
        if (!$this->type || $this->is('customize_preview')) {
            $this->type = parent::type();
        }

        return $this->type;
    }
private function getType ( ) : array { if ( ! $ this -> type || $ this -> is ( 'customize_preview' ) ) { $ this -> type = parent :: type ( ) ; } return $ this -> type ; }
Page type is used too many times on archives
for getting posts mods, so let's make sure method
is called only once per page cycle, except, of course,
in the customizer.

@return string[int]
Page type is used too many times on archives for getting posts mods so let s make sure method is called only once per page cycle except of course in the customizer .