Skip to content

Commit

Permalink
Merge pull request Intervention#1111 from jhoff/correct_return_docblock
Browse files Browse the repository at this point in the history
Use correct docbock returns in AbstractFont.php
  • Loading branch information
olivervogel authored Oct 3, 2021
2 parents 1d22091 + f15efc8 commit a73da9b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Intervention/Image/AbstractFont.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ abstract class AbstractFont
* @return boolean
*/
abstract public function applyToImage(Image $image, $posx = 0, $posy = 0);

/**
* Calculates bounding box of current font setting
*
Expand All @@ -91,7 +91,7 @@ public function __construct($text = null)
* Set text to be written
*
* @param String $text
* @return void
* @return self
*/
public function text($text)
{
Expand All @@ -114,7 +114,7 @@ public function getText()
* Set font size in pixels
*
* @param int $size
* @return void
* @return self
*/
public function size($size)
{
Expand All @@ -137,7 +137,7 @@ public function getSize()
* Set color of text to be written
*
* @param mixed $color
* @return void
* @return self
*/
public function color($color)
{
Expand All @@ -160,7 +160,7 @@ public function getColor()
* Set rotation angle of text
*
* @param int $angle
* @return void
* @return self
*/
public function angle($angle)
{
Expand All @@ -183,7 +183,7 @@ public function getAngle()
* Set horizontal text alignment
*
* @param string $align
* @return void
* @return self
*/
public function align($align)
{
Expand All @@ -206,7 +206,7 @@ public function getAlign()
* Set vertical text alignment
*
* @param string $valign
* @return void
* @return self
*/
public function valign($valign)
{
Expand Down Expand Up @@ -250,7 +250,7 @@ public function getKerning()
* Set path to font file
*
* @param string $file
* @return void
* @return self
*/
public function file($file)
{
Expand Down

0 comments on commit a73da9b

Please sign in to comment.