diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 3e8e5ba..cd35c66 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -2,7 +2,6 @@ name: "Continuous Integration" on: pull_request: - pull_request_target: push: branches: - master diff --git a/src/Client.php b/src/Client.php index c7229a9..293c479 100644 --- a/src/Client.php +++ b/src/Client.php @@ -15,7 +15,7 @@ use function fopen; use function fwrite; -final class Client +final class Client implements GotenbergClientInterface { /** @var HttpClient */ private $client; @@ -30,7 +30,7 @@ public function __construct(string $apiURL, ?HttpClient $client = null) } /** - * Sends the given documents to the API and returns the response. + * {@inheritdoc} * * @throws ClientException * @throws Exception @@ -41,7 +41,7 @@ public function post(GotenbergRequestInterface $request): ResponseInterface } /** - * Sends the given documents to the API, stores the resulting PDF in the given destination. + * {@inheritdoc} * * @throws ClientException * @throws RequestException diff --git a/src/GotenbergClientInterface.php b/src/GotenbergClientInterface.php new file mode 100644 index 0000000..4289fda --- /dev/null +++ b/src/GotenbergClientInterface.php @@ -0,0 +1,20 @@ +