<?php

namespace Jalle19\CertificateParser\Provider;

/**
 * Interface ProviderInterface
 * @package Jalle19\CertificateParser\Provider
 */
interface ProviderInterface
{

    /**
     * @return resource the raw X.509 certificate
     */
    public function getRawCertificate();

}

<?php

namespace Jalle19\CertificateParser\Provider;

use Jalle19\CertificateParser\Provider\Exception\ProviderException;

/**
 * Interface ProviderInterface
 * @package Jalle19\CertificateParser\Provider
 */
interface ProviderInterface
{

    /**
     * @return resource the raw X.509 certificate
     *
     * @throws ProviderException
     */
    public function getRawCertificate();

}

Add missing @throws declaration to the interface
Add missing @throws declaration to the interface

