Skip to content

Commit

Permalink
Add doc blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Mar 22, 2024
1 parent 77fe8a9 commit 67be90e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/EncodedImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function mediaType(): string
}

/**
* Alias of self::mediaType(
* Alias of self::mediaType()
*
* @return string
*/
Expand Down
10 changes: 10 additions & 0 deletions src/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,11 @@ public function drawCircle(int $x, int $y, callable $init): ImageInterface
);
}

/**
* {@inheritdoc}
*
* @see ImageInterface::drawPolygon()
*/
public function drawPolygon(callable $init): ImageInterface
{
return $this->modify(
Expand All @@ -840,6 +845,11 @@ public function drawPolygon(callable $init): ImageInterface
);
}

/**
* {@inheritdoc}
*
* @see ImageInterface::drawLine()
*/
public function drawLine(callable $init): ImageInterface
{
return $this->modify(
Expand Down

0 comments on commit 67be90e

Please sign in to comment.