Permalink
Browse files

fixed phpdoc @param alignment

  • Loading branch information...
1 parent ec3d45f commit 0e67dc701ff55d2a1899a1e638a13a4be96d19b9 @fabpot fabpot committed May 15, 2012
View
@@ -60,8 +60,8 @@ class Application
/**
* Constructor.
*
- * @param string $name The name of the application
- * @param string $version The version of the application
+ * @param string $name The name of the application
+ * @param string $version The version of the application
*
* @api
*/
@@ -519,7 +519,7 @@ public function findNamespace($namespace)
* Contrary to get, this command tries to find the best
* match if you give it an abbreviation of a name or alias.
*
- * @param string $name A command name or a command alias
+ * @param string $name A command name or a command alias
*
* @return Command A Command instance
*
@@ -590,7 +590,7 @@ public function find($name)
*
* The array keys are the full names and the values the command instances.
*
- * @param string $namespace A namespace name
+ * @param string $namespace A namespace name
*
* @return array An array of Command instances
*
@@ -991,8 +991,8 @@ private function extractNamespace($name, $limit = null)
/**
* Finds alternative commands of $name
*
- * @param string $name The full name of the command
- * @param array $abbrevs The abbreviations
+ * @param string $name The full name of the command
+ * @param array $abbrevs The abbreviations
*
* @return array A sorted array of similar commands
*/
@@ -1008,8 +1008,8 @@ private function findAlternativeCommands($name, $abbrevs)
/**
* Finds alternative namespace of $name
*
- * @param string $name The full name of the namespace
- * @param array $abbrevs The abbreviations
+ * @param string $name The full name of the namespace
+ * @param array $abbrevs The abbreviations
*
* @return array A sorted array of similar namespace
*/
@@ -1022,10 +1022,10 @@ private function findAlternativeNamespace($name, $abbrevs)
* Finds alternative of $name among $collection,
* if nothing is found in $collection, try in $abbrevs
*
- * @param string $name The string
- * @param array|Traversable $collection The collecion
- * @param array $abbrevs The abbreviations
- * @param Closure|string|array $callback The callable to transform collection item before comparison
+ * @param string $name The string
+ * @param array|Traversable $collection The collecion
+ * @param array $abbrevs The abbreviations
+ * @param Closure|string|array $callback The callable to transform collection item before comparison
*
* @return array A sorted array of similar string
*/
@@ -32,8 +32,8 @@ class OutputFormatter implements OutputFormatterInterface
/**
* Initializes console output formatter.
*
- * @param Boolean $decorated Whether this formatter should actually decorate strings
- * @param array $styles Array of "name => FormatterStyle" instances
+ * @param Boolean $decorated Whether this formatter should actually decorate strings
+ * @param array $styles Array of "name => FormatterStyle" instances
*
* @api
*/
@@ -127,7 +127,7 @@ public function getStyle($name)
/**
* Formats a message according to the given styles.
*
- * @param string $message The message to style
+ * @param string $message The message to style
*
* @return string The styled message
*
@@ -211,7 +211,7 @@ private function createStyleFromString($string)
* Applies style to text if must be applied.
*
* @param OutputFormatterStyleInterface $style Style to apply
- * @param string $text Input text
+ * @param string $text Input text
*
* @return string string Styled text
*/
@@ -73,7 +73,7 @@ function getStyle($name);
/**
* Formats a message according to the given styles.
*
- * @param string $message The message to style
+ * @param string $message The message to style
*
* @return string The styled message
*
@@ -55,9 +55,9 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface
/**
* Initializes output formatter style.
*
- * @param string $foreground style foreground color name
- * @param string $background style background color name
- * @param array $options style options
+ * @param string $foreground style foreground color name
+ * @param string $background style background color name
+ * @param array $options style options
*
* @api
*/
@@ -77,7 +77,7 @@ public function __construct($foreground = null, $background = null, array $optio
/**
* Sets style foreground color.
*
- * @param string $color color name
+ * @param string $color color name
*
* @throws \InvalidArgumentException When the color name isn't defined
*
@@ -105,7 +105,7 @@ public function setForeground($color = null)
/**
* Sets style background color.
*
- * @param string $color color name
+ * @param string $color color name
*
* @throws \InvalidArgumentException When the color name isn't defined
*
@@ -133,7 +133,7 @@ public function setBackground($color = null)
/**
* Sets some specific style option.
*
- * @param string $option option name
+ * @param string $option option name
*
* @throws \InvalidArgumentException When the option name isn't defined
*
@@ -157,7 +157,7 @@ public function setOption($option)
/**
* Unsets some specific style option.
*
- * @param string $option option name
+ * @param string $option option name
*
* @throws \InvalidArgumentException When the option name isn't defined
*
@@ -23,7 +23,7 @@
/**
* Sets style foreground color.
*
- * @param string $color color name
+ * @param string $color color name
*
* @api
*/
@@ -32,7 +32,7 @@ function setForeground($color = null);
/**
* Sets style background color.
*
- * @param string $color color name
+ * @param string $color color name
*
* @api
*/
@@ -41,7 +41,7 @@ function setBackground($color = null);
/**
* Sets some specific style option.
*
- * @param string $option option name
+ * @param string $option option name
*
* @api
*/
@@ -50,7 +50,7 @@ function setOption($option);
/**
* Unsets some specific style option.
*
- * @param string $option option name
+ * @param string $option option name
*/
function unsetOption($option);
View
@@ -82,7 +82,7 @@ public function askConfirmation(OutputInterface $output, $question, $default = t
* @param string|array $question The question to ask
* @param callback $validator A PHP callback
* @param integer $attempts Max number of times to ask before giving up (false by default, which means infinite)
- * @param string $default The default answer if none is given by the user
+ * @param string $default The default answer if none is given by the user
*
* @return mixed
*
@@ -21,9 +21,9 @@ class FormatterHelper extends Helper
/**
* Formats a message within a section.
*
- * @param string $section The section name
- * @param string $message The message
- * @param string $style The style to apply to the section
+ * @param string $section The section name
+ * @param string $message The message
+ * @param string $style The style to apply to the section
*/
public function formatSection($section, $message, $style = 'info')
{
View
@@ -55,7 +55,7 @@ public function set(HelperInterface $helper, $alias = null)
/**
* Returns true if the helper if defined.
*
- * @param string $name The helper name
+ * @param string $name The helper name
*
* @return Boolean true if the helper is defined, false otherwise
*/
View
@@ -46,7 +46,7 @@ class ArgvInput extends Input
/**
* Constructor.
*
- * @param array $argv An array of parameters from the CLI (in the argv format)
+ * @param array $argv An array of parameters from the CLI (in the argv format)
* @param InputDefinition $definition A InputDefinition instance
*
* @api
@@ -286,8 +286,8 @@ public function hasParameterOption($values)
* This method is to be used to introspect the input parameters
* before they have been validated. It must be used carefully.
*
- * @param string|array $values The value(s) to look for in the raw parameters (can be an array)
- * @param mixed $default The default value to return if no result is found
+ * @param string|array $values The value(s) to look for in the raw parameters (can be an array)
+ * @param mixed $default The default value to return if no result is found
*
* @return mixed The option value
*/
View
@@ -90,8 +90,8 @@ public function hasParameterOption($values)
* This method is to be used to introspect the input parameters
* before they have been validated. It must be used carefully.
*
- * @param string|array $values The value(s) to look for in the raw parameters (can be an array)
- * @param mixed $default The default value to return if no result is found
+ * @param string|array $values The value(s) to look for in the raw parameters (can be an array)
+ * @param mixed $default The default value to return if no result is found
*
* @return mixed The option value
*/
View
@@ -43,8 +43,8 @@ function hasParameterOption($values);
* This method is to be used to introspect the input parameters
* before they have been validated. It must be used carefully.
*
- * @param string|array $values The value(s) to look for in the raw parameters (can be an array)
- * @param mixed $default The default value to return if no result is found
+ * @param string|array $values The value(s) to look for in the raw parameters (can be an array)
+ * @param mixed $default The default value to return if no result is found
*
* @return mixed The option value
*/
View
@@ -30,7 +30,7 @@ class StringInput extends ArgvInput
/**
* Constructor.
*
- * @param string $input An array of parameters from the CLI (in the argv format)
+ * @param string $input An array of parameters from the CLI (in the argv format)
* @param InputDefinition $definition A InputDefinition instance
*
* @api
View
@@ -37,7 +37,7 @@ class ConsoleOutput extends StreamOutput implements ConsoleOutputInterface
/**
* Constructor.
*
- * @param integer $verbosity The verbosity level (self::VERBOSITY_QUIET, self::VERBOSITY_NORMAL,
+ * @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
View
@@ -25,7 +25,7 @@ class NullOutput extends Output
/**
* Writes a message to the output.
*
- * @param string $message A message to write to the output
+ * @param string $message A message to write to the output
* @param Boolean $newline Whether to add a newline or not
*/
public function doWrite($message, $newline)
View
@@ -35,8 +35,8 @@ class StreamOutput extends Output
/**
* Constructor.
*
- * @param mixed $stream A stream resource
- * @param integer $verbosity The verbosity level (self::VERBOSITY_QUIET, self::VERBOSITY_NORMAL,
+ * @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

0 comments on commit 0e67dc7

Please sign in to comment.