Skip to content

Commit

Permalink
feedback on Console : avoid cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik authored and Ocramius committed Mar 17, 2014
1 parent 6fcf00d commit c35da08
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion library/Zend/Barcode/Object/Ean5.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function getChecksum($text)

return ($checksum % 10);
}

/**
* @param int $i
*/
Expand Down
76 changes: 38 additions & 38 deletions library/Zend/Console/Adapter/AdapterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ interface AdapterInterface
/**
* Write a chunk of text to console.
*
* @param string $text
* @param null|int $color
* @param null|int $bgColor
* @param string $text
* @param null|int $color
* @param null|int $bgColor
* @return void
*/
public function write($text, $color = null, $bgColor = null);

/**
* Alias for write()
*
* @param string $text
* @param null|int $color
* @param null|int $bgColor
* @param string $text
* @param null|int $color
* @param null|int $bgColor
* @return void
*/
public function writeText($text, $color = null, $bgColor = null);
Expand All @@ -47,21 +47,21 @@ public function writeText($text, $color = null, $bgColor = null);
* Write a single line of text to console and advance cursor to the next line.
* If the text is longer than console width it will be truncated.
*
* @param string $text
* @param null|int $color
* @param null|int $bgColor
* @param string $text
* @param null|int $color
* @param null|int $bgColor
* @return void
*/
public function writeLine($text = "", $color = null, $bgColor = null);

/**
* Write a piece of text at the coordinates of $x and $y
*
* @param string $text Text to write
* @param int $x Console X coordinate (column)
* @param int $y Console Y coordinate (row)
* @param null|int $color
* @param null|int $bgColor
* @param string $text Text to write
* @param int $x Console X coordinate (column)
* @param int $y Console Y coordinate (row)
* @param null|int $color
* @param null|int $bgColor
* @return void
*/
public function writeAt($text, $x, $y, $color = null, $bgColor = null);
Expand All @@ -71,16 +71,16 @@ public function writeAt($text, $x, $y, $color = null, $bgColor = null);
* If X or Y coordinate value is negative, it will be calculated as the distance from far right or bottom edge
* of the console (respectively).
*
* @param int $x1 Top-left corner X coordinate (column)
* @param int $y1 Top-left corner Y coordinate (row)
* @param int $x2 Bottom-right corner X coordinate (column)
* @param int $y2 Bottom-right corner Y coordinate (row)
* @param int $lineStyle (optional) Box border style.
* @param int $fillStyle (optional) Box fill style or a single character to fill it with.
* @param int $color (optional) Foreground color
* @param int $bgColor (optional) Background color
* @param null|int $fillColor (optional) Foreground color of box fill
* @param null|int $fillBgColor (optional) Background color of box fill
* @param int $x1 Top-left corner X coordinate (column)
* @param int $y1 Top-left corner Y coordinate (row)
* @param int $x2 Bottom-right corner X coordinate (column)
* @param int $y2 Bottom-right corner Y coordinate (row)
* @param int $lineStyle (optional) Box border style.
* @param int $fillStyle (optional) Box fill style or a single character to fill it with.
* @param int $color (optional) Foreground color
* @param int $bgColor (optional) Background color
* @param null|int $fillColor (optional) Foreground color of box fill
* @param null|int $fillBgColor (optional) Background color of box fill
* @return void
*/
public function writeBox(
Expand All @@ -101,13 +101,13 @@ public function writeBox(
* In case a line of text does not fit desired width, it will be wrapped to the next line.
* In case the whole text does not fit in desired height, it will be truncated.
*
* @param string $text Text to write
* @param int $width Maximum block width. Negative value means distance from right edge.
* @param int|null $height Maximum block height. Negative value means distance from bottom edge.
* @param int $x Block X coordinate (column)
* @param int $y Block Y coordinate (row)
* @param null|int $color (optional) Text color
* @param null|int $bgColor (optional) Text background color
* @param string $text Text to write
* @param int $width Maximum block width. Negative value means distance from right edge.
* @param int|null $height Maximum block height. Negative value means distance from bottom edge.
* @param int $x Block X coordinate (column)
* @param int $y Block Y coordinate (row)
* @param null|int $color (optional) Text color
* @param null|int $bgColor (optional) Text background color
* @return void
*/
public function writeTextBlock(
Expand Down Expand Up @@ -152,8 +152,8 @@ public function isUtf8();
/**
* Set cursor position
*
* @param int $x
* @param int $y
* @param int $x
* @param int $y
* @return void
*/
public function setPos($x, $y);
Expand All @@ -180,25 +180,25 @@ public function getTitle();
/**
* Prepare a string that will be rendered in color.
*
* @param string $string
* @param null|int $color Foreground color
* @param null|int $bgColor Background color
* @param string $string
* @param null|int $color Foreground color
* @param null|int $bgColor Background color
* @return string
*/
public function colorize($string, $color = null, $bgColor = null);

/**
* Change current drawing color.
*
* @param int $color
* @param int $color
* @return void
*/
public function setColor($color);

/**
* Change current drawing background color
*
* @param int $color
* @param int $color
* @return void
*/
public function setBgColor($color);
Expand Down
8 changes: 4 additions & 4 deletions library/Zend/Crypt/Symmetric/SymmetricInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface SymmetricInterface
* @param string $data
*/
public function encrypt($data);

/**
* @param string $data
*/
Expand All @@ -25,15 +25,15 @@ public function decrypt($data);
* @param string $key
*/
public function setKey($key);

public function getKey();

public function getKeySize();

public function getAlgorithm();

/**
* @param string $algo
* @param string $algo
*/
public function setAlgorithm($algo);

Expand All @@ -43,7 +43,7 @@ public function getSupportedAlgorithms();
* @param string|false $salt
*/
public function setSalt($salt);

public function getSalt();

public function getSaltSize();
Expand Down

0 comments on commit c35da08

Please sign in to comment.