Skip to content

Commit

Permalink
fixed phpdoc @param alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed May 15, 2012
1 parent 8f75bfb commit 836d9bb
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Generator/Dumper/GeneratorDumperInterface.php
Expand Up @@ -30,7 +30,7 @@ interface GeneratorDumperInterface
* * class: The class name
* * base_class: The base class name
*
* @param array $options An array of options
* @param array $options An array of options
*
* @return string A PHP class representing the generator class
*/
Expand Down
2 changes: 1 addition & 1 deletion Generator/Dumper/PhpGeneratorDumper.php
Expand Up @@ -31,7 +31,7 @@ class PhpGeneratorDumper extends GeneratorDumper
* * class: The class name
* * base_class: The base class name
*
* @param array $options An array of options
* @param array $options An array of options
*
* @return string A PHP class representing the generator class
*
Expand Down
4 changes: 2 additions & 2 deletions Loader/XmlFileLoader.php
Expand Up @@ -62,8 +62,8 @@ public function load($file, $type = null)
* Parses a node from a loaded XML file.
*
* @param RouteCollection $collection the collection to associate with the node
* @param DOMElement $node the node to parse
* @param string $path the path of the XML file being processed
* @param DOMElement $node the node to parse
* @param string $path the path of the XML file being processed
* @param string $file
*/
protected function parseNode(RouteCollection $collection, \DOMElement $node, $path, $file)
Expand Down
2 changes: 1 addition & 1 deletion Loader/YamlFileLoader.php
Expand Up @@ -124,7 +124,7 @@ protected function parseRoute(RouteCollection $collection, $name, $config, $file
/**
* Normalize route configuration.
*
* @param array $config A resource config
* @param array $config A resource config
*
* @return array
*
Expand Down
2 changes: 1 addition & 1 deletion Matcher/Dumper/MatcherDumperInterface.php
Expand Up @@ -26,7 +26,7 @@ interface MatcherDumperInterface
* * class: The class name
* * base_class: The base class name
*
* @param array $options An array of options
* @param array $options An array of options
*
* @return string A PHP class representing the matcher class
*/
Expand Down
2 changes: 1 addition & 1 deletion Matcher/Dumper/PhpMatcherDumper.php
Expand Up @@ -30,7 +30,7 @@ class PhpMatcherDumper extends MatcherDumper
* * class: The class name
* * base_class: The base class name
*
* @param array $options An array of options
* @param array $options An array of options
*
* @return string A PHP class representing the matcher class
*/
Expand Down
6 changes: 3 additions & 3 deletions Matcher/RedirectableUrlMatcherInterface.php
Expand Up @@ -23,9 +23,9 @@ interface RedirectableUrlMatcherInterface
/**
* Redirects the user to another URL.
*
* @param string $path The path info to redirect to.
* @param string $route The route that matched
* @param string $scheme The URL scheme (null to keep the current one)
* @param string $path The path info to redirect to.
* @param string $route The route that matched
* @param string $scheme The URL scheme (null to keep the current one)
*
* @return array An array of parameters
*
Expand Down
2 changes: 1 addition & 1 deletion Matcher/UrlMatcher.php
Expand Up @@ -74,7 +74,7 @@ public function getContext()
/**
* Tries to match a URL with a set of routes.
*
* @param string $pathinfo The path info to be parsed (raw format, i.e. not urldecoded)
* @param string $pathinfo The path info to be parsed (raw format, i.e. not urldecoded)
*
* @return array An array of parameters
*
Expand Down
2 changes: 1 addition & 1 deletion Matcher/UrlMatcherInterface.php
Expand Up @@ -30,7 +30,7 @@ interface UrlMatcherInterface extends RequestContextAwareInterface
* If the matcher can not find information, it must throw one of the exceptions documented
* below.
*
* @param string $pathinfo The path info to be parsed (raw format, i.e. not urldecoded)
* @param string $pathinfo The path info to be parsed (raw format, i.e. not urldecoded)
*
* @return array An array of parameters
*
Expand Down
2 changes: 1 addition & 1 deletion RequestContext.php
Expand Up @@ -250,7 +250,7 @@ public function hasParameter($name)
/**
* Sets a parameter value.
*
* @param string $name A parameter name
* @param string $name A parameter name
* @param mixed $parameter The parameter value
*
* @api
Expand Down
10 changes: 5 additions & 5 deletions Route.php
Expand Up @@ -35,10 +35,10 @@ class Route
*
* * compiler_class: A class name able to compile this route instance (RouteCompiler by default)
*
* @param string $pattern The pattern to match
* @param array $defaults An array of default parameter values
* @param array $requirements An array of requirements for parameters (regexes)
* @param array $options An array of options
* @param string $pattern The pattern to match
* @param array $defaults An array of default parameter values
* @param array $requirements An array of requirements for parameters (regexes)
* @param array $options An array of options
*
* @api
*/
Expand Down Expand Up @@ -314,7 +314,7 @@ public function getRequirement($key)
/**
* Sets a requirement for the given key.
*
* @param string $key The key
* @param string $key The key
* @param string $regex The regex
*
* @return Route The current Route instance
Expand Down

0 comments on commit 836d9bb

Please sign in to comment.