Skip to content

Commit

Permalink
[Phpdoc] Cleaning/fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
pborreli committed Apr 23, 2011
1 parent 9fe145e commit 4ec78d1
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 23 deletions.
4 changes: 2 additions & 2 deletions Application.php
Expand Up @@ -640,8 +640,8 @@ public function asText($namespace = null)
/**
* Returns an XML representation of the Application.
*
* @param string $namespace An optional namespace name
* @param Boolean $asDom Whether to return a DOM or an XML string
* @param string $namespace An optional namespace name
* @param Boolean $asDom Whether to return a DOM or an XML string
*
* @return string|DOMDocument An XML string representing the Application
*/
Expand Down
4 changes: 2 additions & 2 deletions Formatter/OutputFormatter.php
Expand Up @@ -72,8 +72,8 @@ public function isDecorated()
/**
* Sets a new style.
*
* @param string $name The style name
* @param OutputFormatterStyleInterface $options The style instance
* @param string $name The style name
* @param OutputFormatterStyleInterface $style The style instance
*
* @api
*/
Expand Down
4 changes: 2 additions & 2 deletions Formatter/OutputFormatterInterface.php
Expand Up @@ -41,8 +41,8 @@ function isDecorated();
/**
* Sets a new style.
*
* @param string $name The style name
* @param OutputFormatterStyleInterface $options The style instance
* @param string $name The style name
* @param OutputFormatterStyleInterface $style The style instance
*
* @api
*/
Expand Down
2 changes: 1 addition & 1 deletion Helper/HelperSet.php
Expand Up @@ -38,7 +38,7 @@ public function __construct(array $helpers = array())
* Sets a helper.
*
* @param HelperInterface $value The helper instance
* @param string $alias An alias
* @param string $alias An alias
*/
public function set(HelperInterface $helper, $alias = null)
{
Expand Down
2 changes: 1 addition & 1 deletion Input/ArgvInput.php
Expand Up @@ -111,7 +111,7 @@ private function parseShortOption($token)
/**
* Parses a short option set.
*
* @param string $token The current token
* @param string $name The current token
*
* @throws \RuntimeException When option given doesn't exist
*/
Expand Down
4 changes: 2 additions & 2 deletions Input/ArrayInput.php
Expand Up @@ -29,7 +29,7 @@ class ArrayInput extends Input
/**
* Constructor.
*
* @param array $param An array of parameters
* @param array $parameters An array of parameters
* @param InputDefinition $definition A InputDefinition instance
*
* @api
Expand Down Expand Up @@ -63,7 +63,7 @@ public function getFirstArgument()
* This method is to be used to introspect the input parameters
* before it has been validated. It must be used carefully.
*
* @param string|array $value The values to look for in the raw parameters (can be an array)
* @param string|array $values The values to look for in the raw parameters (can be an array)
*
* @return Boolean true if the value is contained in the raw parameters
*/
Expand Down
7 changes: 4 additions & 3 deletions Output/ConsoleOutput.php
Expand Up @@ -33,9 +33,10 @@ class ConsoleOutput extends StreamOutput
/**
* Constructor.
*
* @param integer $verbosity The verbosity level (self::VERBOSITY_QUIET, self::VERBOSITY_NORMAL, self::VERBOSITY_VERBOSE)
* @param Boolean $decorated Whether to decorate messages or not (null for auto-guessing)
* @param OutputFormatter $formatter Output formatter instance
* @param integer $verbosity The verbosity level (self::VERBOSITY_QUIET, self::VERBOSITY_NORMAL,
* self::VERBOSITY_VERBOSE)
* @param Boolean $decorated Whether to decorate messages or not (null for auto-guessing)
* @param OutputFormatter $formatter Output formatter instance
*
* @api
*/
Expand Down
8 changes: 4 additions & 4 deletions Output/Output.php
Expand Up @@ -35,9 +35,9 @@ abstract class Output implements OutputInterface
/**
* Constructor.
*
* @param integer $verbosity The verbosity level (self::VERBOSITY_QUIET, self::VERBOSITY_NORMAL, self::VERBOSITY_VERBOSE)
* @param Boolean $decorated Whether to decorate messages or not (null for auto-guessing)
* @param OutputFormatterInterface $formatter Output formatter instance
* @param integer $verbosity The verbosity level (self::VERBOSITY_QUIET, self::VERBOSITY_NORMAL, self::VERBOSITY_VERBOSE)
* @param Boolean $decorated Whether to decorate messages or not (null for auto-guessing)
* @param OutputFormatterInterface $formatter Output formatter instance
*
* @api
*/
Expand All @@ -55,7 +55,7 @@ public function __construct($verbosity = self::VERBOSITY_NORMAL, $decorated = nu
/**
* Sets output formatter.
*
* @param OutputFormatterInterface $formatter
* @param OutputFormatterInterface $formatter
*
* @api
*/
Expand Down
2 changes: 1 addition & 1 deletion Output/OutputInterface.php
Expand Up @@ -90,7 +90,7 @@ function isDecorated();
/**
* Sets output formatter.
*
* @param OutputFormatterInterface $formatter
* @param OutputFormatterInterface $formatter
*
* @api
*/
Expand Down
9 changes: 5 additions & 4 deletions Output/StreamOutput.php
Expand Up @@ -35,10 +35,11 @@ class StreamOutput extends Output
/**
* Constructor.
*
* @param mixed $stream A stream resource
* @param integer $verbosity The verbosity level (self::VERBOSITY_QUIET, self::VERBOSITY_NORMAL, self::VERBOSITY_VERBOSE)
* @param Boolean $decorated Whether to decorate messages or not (null for auto-guessing)
* @param OutputFormatter $formatter Output formatter instance
* @param mixed $stream A stream resource
* @param integer $verbosity The verbosity level (self::VERBOSITY_QUIET, self::VERBOSITY_NORMAL,
* self::VERBOSITY_VERBOSE)
* @param Boolean $decorated Whether to decorate messages or not (null for auto-guessing)
* @param OutputFormatter $formatter Output formatter instance
*
* @throws \InvalidArgumentException When first argument is not a real stream
*
Expand Down
2 changes: 1 addition & 1 deletion Tester/ApplicationTester.php
Expand Up @@ -27,7 +27,7 @@ class ApplicationTester
/**
* Constructor.
*
* @param Application $application A Application instance to test.
* @param Application $application An Application instance to test.
*/
public function __construct(Application $application)
{
Expand Down

0 comments on commit 4ec78d1

Please sign in to comment.