Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#2144 from PHPGangsta/f…
Browse files Browse the repository at this point in the history
…ixes/phpdocClassesAndNamespaces

fixed a lot of phpDoc comments
  • Loading branch information
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function __construct($options = null)
* Set options via an array
*
* @param array $options
* @return \Zend\ProgressBar\Adapter\Adapter
* @return AbstractAdapter
*/
public function setOptions(array $options)
{
Expand Down
8 changes: 4 additions & 4 deletions src/Adapter/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public function setWidth($width = null)
* Set the elements to display with the progressbar
*
* @param array $elements
* @throws \Zend\ProgressBar\Adapter\Exception When an invalid element is found in the array
* @throws \Zend\ProgressBar\Adapter\Exception\InvalidArgumentException When an invalid element is found in the array
* @return \Zend\ProgressBar\Adapter\Console
*/
public function setElements(array $elements)
Expand All @@ -264,7 +264,7 @@ public function setElements(array $elements)
* Set the left-hand character for the bar
*
* @param string $char
* @throws \Zend\ProgressBar\Adapter\Exception When character is empty
* @throws \Zend\ProgressBar\Adapter\Exception\InvalidArgumentException When character is empty
* @return \Zend\ProgressBar\Adapter\Console
*/
public function setBarLeftChar($char)
Expand All @@ -282,7 +282,7 @@ public function setBarLeftChar($char)
* Set the right-hand character for the bar
*
* @param string $char
* @throws \Zend\ProgressBar\Adapter\Exception When character is empty
* @throws \Zend\ProgressBar\Adapter\Exception\InvalidArgumentException When character is empty
* @return \Zend\ProgressBar\Adapter\Console
*/
public function setBarRightChar($char)
Expand Down Expand Up @@ -338,7 +338,7 @@ public function setCharset($charset)
* Set the finish action
*
* @param string $action
* @throws \Zend\ProgressBar\Adapter\Exception When an invalid action is specified
* @throws \Zend\ProgressBar\Adapter\Exception\InvalidArgumentException When an invalid action is specified
* @return \Zend\ProgressBar\Adapter\Console
*/
public function setFinishAction($action)
Expand Down
8 changes: 4 additions & 4 deletions src/ProgressBar.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ProgressBar
/**
* Adapter for the output
*
* @var \Zend\ProgressBar\Adapter\Adapter
* @var \Zend\ProgressBar\Adapter\AbstractAdapter
*/
protected $adapter;

Expand All @@ -74,9 +74,9 @@ class ProgressBar
* Create a new progressbar backend.
*
* @param Adapter\AbstractAdapter $adapter
* @param float $min
* @param float $max
* @param string $persistenceNamespace
* @param float|int $min
* @param float|int $max
* @param string|null $persistenceNamespace
* @throws Exception\OutOfRangeException When $min is greater than $max
*/
public function __construct(Adapter\AbstractAdapter $adapter, $min = 0, $max = 100, $persistenceNamespace = null)
Expand Down

0 comments on commit 679b87a

Please sign in to comment.