1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-11 16:34:00 +02:00

Use correct docbock returns in AbstractFont.php

This commit is contained in:
Jordan Hoff
2021-08-30 09:35:36 -05:00
parent 1d22091590
commit f15efc8ccf

View File

@@ -69,7 +69,7 @@ abstract class AbstractFont
* @return boolean * @return boolean
*/ */
abstract public function applyToImage(Image $image, $posx = 0, $posy = 0); abstract public function applyToImage(Image $image, $posx = 0, $posy = 0);
/** /**
* Calculates bounding box of current font setting * Calculates bounding box of current font setting
* *
@@ -91,7 +91,7 @@ abstract class AbstractFont
* Set text to be written * Set text to be written
* *
* @param String $text * @param String $text
* @return void * @return self
*/ */
public function text($text) public function text($text)
{ {
@@ -114,7 +114,7 @@ abstract class AbstractFont
* Set font size in pixels * Set font size in pixels
* *
* @param int $size * @param int $size
* @return void * @return self
*/ */
public function size($size) public function size($size)
{ {
@@ -137,7 +137,7 @@ abstract class AbstractFont
* Set color of text to be written * Set color of text to be written
* *
* @param mixed $color * @param mixed $color
* @return void * @return self
*/ */
public function color($color) public function color($color)
{ {
@@ -160,7 +160,7 @@ abstract class AbstractFont
* Set rotation angle of text * Set rotation angle of text
* *
* @param int $angle * @param int $angle
* @return void * @return self
*/ */
public function angle($angle) public function angle($angle)
{ {
@@ -183,7 +183,7 @@ abstract class AbstractFont
* Set horizontal text alignment * Set horizontal text alignment
* *
* @param string $align * @param string $align
* @return void * @return self
*/ */
public function align($align) public function align($align)
{ {
@@ -206,7 +206,7 @@ abstract class AbstractFont
* Set vertical text alignment * Set vertical text alignment
* *
* @param string $valign * @param string $valign
* @return void * @return self
*/ */
public function valign($valign) public function valign($valign)
{ {
@@ -250,7 +250,7 @@ abstract class AbstractFont
* Set path to font file * Set path to font file
* *
* @param string $file * @param string $file
* @return void * @return self
*/ */
public function file($file) public function file($file)
{ {