Skip to content

Commit

Permalink
add missing throws annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-sainthillier committed Dec 16, 2024
1 parent e9c5eba commit f4d13f7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [])
{
Expand Down Expand Up @@ -575,6 +577,8 @@ public function getResponseFactory()
* @return mixed Image response.
*
* @throws InvalidArgumentException
* @throws FileNotFoundException
* @throws FilesystemException
*/
public function getImageResponse($path, array $params)
{
Expand All @@ -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)
Expand All @@ -617,6 +622,8 @@ public function getImageAsBase64($path, array $params)
* @param array $params Image manipulation params.
*
* @throws InvalidArgumentException
* @throws FileNotFoundException
* @throws FilesystemException
*
* @return void
*/
Expand Down

0 comments on commit f4d13f7

Please sign in to comment.