1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-20 04:31:24 +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
*
* @param array<string|object> $objects
* @throws NotSupportedException
* @throws DriverException
* @return array<object>
*/
public function specializeMultiple(array $objects): array;
@@ -62,6 +64,7 @@ interface DriverInterface
* Create new animated image
*
* @param callable $init
* @throws RuntimeException
* @return ImageInterface
*/
public function createAnimation(callable $init): ImageInterface;