Skip to content

Commit

Permalink
Add @throws keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Jun 6, 2024
1 parent a566769 commit 1efc04e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Drivers/AbstractDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public function specialize(
/**
* {@inheritdoc}
*
* @throws NotSupportedException
* @see DriverInterface::specializeMultiple()
*/
public function specializeMultiple(array $objects): array
Expand Down
1 change: 1 addition & 0 deletions src/Drivers/Gd/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public function createImage(int $width, int $height): ImageInterface
/**
* {@inheritdoc}
*
* @throws RuntimeException
* @see DriverInterface::createAnimation()
*/
public function createAnimation(callable $init): ImageInterface
Expand Down
1 change: 1 addition & 0 deletions src/Drivers/Imagick/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public function createImage(int $width, int $height): ImageInterface
/**
* {@inheritdoc}
*
* @throws RuntimeException
* @see DriverInterface::createAnimation()
*/
public function createAnimation(callable $init): ImageInterface
Expand Down

0 comments on commit 1efc04e

Please sign in to comment.