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

Add doc blocks

This commit is contained in:
Oliver Vogel 2024-03-22 08:11:44 +01:00
parent 77fe8a94fc
commit 67be90e570
No known key found for this signature in database
GPG Key ID: 1B19D214C02D69BB
2 changed files with 11 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class EncodedImage extends File implements EncodedImageInterface
} }
/** /**
* Alias of self::mediaType( * Alias of self::mediaType()
* *
* @return string * @return string
*/ */

View File

@ -831,6 +831,11 @@ final class Image implements ImageInterface
); );
} }
/**
* {@inheritdoc}
*
* @see ImageInterface::drawPolygon()
*/
public function drawPolygon(callable $init): ImageInterface public function drawPolygon(callable $init): ImageInterface
{ {
return $this->modify( return $this->modify(
@ -840,6 +845,11 @@ final class Image implements ImageInterface
); );
} }
/**
* {@inheritdoc}
*
* @see ImageInterface::drawLine()
*/
public function drawLine(callable $init): ImageInterface public function drawLine(callable $init): ImageInterface
{ {
return $this->modify( return $this->modify(