Skip to content

Commit dab24ea

Browse files
authored
Merge pull request #408 from guillaume-sainthillier/gsa/phpdoc
add missing throws annotation
2 parents e9c5eba + f4d13f7 commit dab24ea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Server.php

+7
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@ public function getCachePathCallable()
374374
* @param array $params Image manipulation params.
375375
*
376376
* @return string Cache path.
377+
*
378+
* @throws FileNotFoundException
377379
*/
378380
public function getCachePath($path, array $params = [])
379381
{
@@ -575,6 +577,8 @@ public function getResponseFactory()
575577
* @return mixed Image response.
576578
*
577579
* @throws InvalidArgumentException
580+
* @throws FileNotFoundException
581+
* @throws FilesystemException
578582
*/
579583
public function getImageResponse($path, array $params)
580584
{
@@ -595,6 +599,7 @@ public function getImageResponse($path, array $params)
595599
*
596600
* @return string Base64 encoded image.
597601
*
602+
* @throws FileNotFoundException
598603
* @throws FilesystemException
599604
*/
600605
public function getImageAsBase64($path, array $params)
@@ -617,6 +622,8 @@ public function getImageAsBase64($path, array $params)
617622
* @param array $params Image manipulation params.
618623
*
619624
* @throws InvalidArgumentException
625+
* @throws FileNotFoundException
626+
* @throws FilesystemException
620627
*
621628
* @return void
622629
*/

0 commit comments

Comments
 (0)