From f4d13f7e371cb9040ea8c692a5e19dcf338fabc2 Mon Sep 17 00:00:00 2001 From: Guillaume Sainthillier Date: Mon, 16 Dec 2024 16:06:38 +0100 Subject: [PATCH] add missing throws annotation --- src/Server.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Server.php b/src/Server.php index 8816551..a599f79 100644 --- a/src/Server.php +++ b/src/Server.php @@ -374,6 +374,8 @@ public function getCachePathCallable() * @param array $params Image manipulation params. * * @return string Cache path. + * + * @throws FileNotFoundException */ public function getCachePath($path, array $params = []) { @@ -575,6 +577,8 @@ public function getResponseFactory() * @return mixed Image response. * * @throws InvalidArgumentException + * @throws FileNotFoundException + * @throws FilesystemException */ public function getImageResponse($path, array $params) { @@ -595,6 +599,7 @@ public function getImageResponse($path, array $params) * * @return string Base64 encoded image. * + * @throws FileNotFoundException * @throws FilesystemException */ public function getImageAsBase64($path, array $params) @@ -617,6 +622,8 @@ public function getImageAsBase64($path, array $params) * @param array $params Image manipulation params. * * @throws InvalidArgumentException + * @throws FileNotFoundException + * @throws FilesystemException * * @return void */