Skip to content

Commit 1efc04e

Browse files
committed
Add @throws keywords
1 parent a566769 commit 1efc04e

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/Drivers/AbstractDriver.php

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public function specialize(
6464
/**
6565
* {@inheritdoc}
6666
*
67+
* @throws NotSupportedException
6768
* @see DriverInterface::specializeMultiple()
6869
*/
6970
public function specializeMultiple(array $objects): array

src/Drivers/Gd/Driver.php

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public function createImage(int $width, int $height): ImageInterface
7272
/**
7373
* {@inheritdoc}
7474
*
75+
* @throws RuntimeException
7576
* @see DriverInterface::createAnimation()
7677
*/
7778
public function createAnimation(callable $init): ImageInterface

src/Drivers/Imagick/Driver.php

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public function createImage(int $width, int $height): ImageInterface
7171
/**
7272
* {@inheritdoc}
7373
*
74+
* @throws RuntimeException
7475
* @see DriverInterface::createAnimation()
7576
*/
7677
public function createAnimation(callable $init): ImageInterface

0 commit comments

Comments
 (0)