Skip to content

Commit

Permalink
Merge pull request #408 from guillaume-sainthillier/gsa/phpdoc
Browse files Browse the repository at this point in the history
add missing throws annotation
  • Loading branch information
ADmad authored Dec 17, 2024
2 parents e9c5eba + f4d13f7 commit dab24ea
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 dab24ea

Please sign in to comment.