1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-21 05:01:20 +02:00

Add @throws docblock tags

This commit is contained in:
Oliver Vogel
2024-05-15 17:06:06 +02:00
parent c06e14df1b
commit 00b7f8a412

View File

@@ -44,6 +44,8 @@ interface DriverInterface
* Resolve array of classnames or objects into their specialized version for the current driver * Resolve array of classnames or objects into their specialized version for the current driver
* *
* @param array<string|object> $objects * @param array<string|object> $objects
* @throws NotSupportedException
* @throws DriverException
* @return array<object> * @return array<object>
*/ */
public function specializeMultiple(array $objects): array; public function specializeMultiple(array $objects): array;
@@ -62,6 +64,7 @@ interface DriverInterface
* Create new animated image * Create new animated image
* *
* @param callable $init * @param callable $init
* @throws RuntimeException
* @return ImageInterface * @return ImageInterface
*/ */
public function createAnimation(callable $init): ImageInterface; public function createAnimation(callable $init): ImageInterface;