Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed phpdoc @param alignment

  • Loading branch information...
commit 416b8a6dd9abad6ddf1d325d22ef801d50663b4b 1 parent 250b1bb
@fabpot fabpot authored
View
2  Alias.php
@@ -22,7 +22,7 @@ class Alias
/**
* Constructor.
*
- * @param string $id Alias identifier
+ * @param string $id Alias identifier
* @param Boolean $public If this alias is public
*
* @api
View
2  Compiler/PassConfig.php
@@ -96,7 +96,7 @@ public function getPasses()
* Adds a pass.
*
* @param CompilerPassInterface $pass A Compiler pass
- * @param string $type The pass type
+ * @param string $type The pass type
*
* @throws InvalidArgumentException when a pass type doesn't exist
*
View
8 Compiler/ReplaceAliasByActualDefinitionPass.php
@@ -63,8 +63,8 @@ public function process(ContainerBuilder $container)
* Updates references to remove aliases.
*
* @param ContainerBuilder $container The container
- * @param string $currentId The alias identifier being replaced
- * @param string $newId The id of the service the alias points to
+ * @param string $currentId The alias identifier being replaced
+ * @param string $newId The id of the service the alias points to
*/
private function updateReferences($container, $currentId, $newId)
{
@@ -94,9 +94,9 @@ private function updateReferences($container, $currentId, $newId)
/**
* Updates argument references.
*
- * @param array $arguments An array of Arguments
+ * @param array $arguments An array of Arguments
* @param string $currentId The alias identifier
- * @param string $newId The identifier the alias points to
+ * @param string $newId The identifier the alias points to
*/
private function updateArgumentReferences(array $arguments, $currentId, $newId)
{
View
2  Compiler/ResolveDefinitionTemplatesPass.php
@@ -54,7 +54,7 @@ public function process(ContainerBuilder $container)
/**
* Resolves the definition
*
- * @param string $id The definition identifier
+ * @param string $id The definition identifier
* @param DefinitionDecorator $definition
*
* @return Definition
View
2  Compiler/ResolveInvalidReferencesPass.php
@@ -69,7 +69,7 @@ public function process(ContainerBuilder $container)
/**
* Processes arguments to determine invalid references.
*
- * @param array $arguments An array of Reference objects
+ * @param array $arguments An array of Reference objects
* @param Boolean $inMethodCall
*/
private function processArguments(array $arguments, $inMethodCall = false)
View
4 Compiler/ServiceReferenceGraphNode.php
@@ -31,8 +31,8 @@ class ServiceReferenceGraphNode
/**
* Constructor.
*
- * @param string $id The node identifier
- * @param mixed $value The node value
+ * @param string $id The node identifier
+ * @param mixed $value The node value
*/
public function __construct($id, $value)
{
View
12 Container.php
@@ -133,7 +133,7 @@ public function getParameterBag()
/**
* Gets a parameter.
*
- * @param string $name The parameter name
+ * @param string $name The parameter name
*
* @return mixed The parameter value
*
@@ -149,7 +149,7 @@ public function getParameter($name)
/**
* Checks if a parameter exists.
*
- * @param string $name The parameter name
+ * @param string $name The parameter name
*
* @return Boolean The presence of parameter in container
*
@@ -204,7 +204,7 @@ public function set($id, $service, $scope = self::SCOPE_CONTAINER)
/**
* Returns true if the given service is defined.
*
- * @param string $id The service identifier
+ * @param string $id The service identifier
*
* @return Boolean true if the service is defined, false otherwise
*
@@ -223,8 +223,8 @@ public function has($id)
* If a service is both defined through a set() method and
* with a set*Service() method, the former has always precedence.
*
- * @param string $id The service identifier
- * @param integer $invalidBehavior The behavior when the service does not exist
+ * @param string $id The service identifier
+ * @param integer $invalidBehavior The behavior when the service does not exist
*
* @return object The associated service
*
@@ -269,7 +269,7 @@ public function get($id, $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE
/**
* Returns true if the given service has actually been initialized
*
- * @param string $id The service identifier
+ * @param string $id The service identifier
*
* @return Boolean true if service has already been initialized, false otherwise
*/
View
30 ContainerBuilder.php
@@ -291,7 +291,7 @@ public function removeDefinition($id)
/**
* Returns true if the given service is defined.
*
- * @param string $id The service identifier
+ * @param string $id The service identifier
*
* @return Boolean true if the service is defined, false otherwise
*
@@ -307,8 +307,8 @@ public function has($id)
/**
* Gets a service.
*
- * @param string $id The service identifier
- * @param integer $invalidBehavior The behavior when the service does not exist
+ * @param string $id The service identifier
+ * @param integer $invalidBehavior The behavior when the service does not exist
*
* @return object The associated service
*
@@ -532,7 +532,7 @@ public function removeAlias($alias)
/**
* Returns true if an alias exists under the given identifier.
*
- * @param string $id The service identifier
+ * @param string $id The service identifier
*
* @return Boolean true if the alias exists, false otherwise
*
@@ -558,7 +558,7 @@ public function getAliases()
/**
* Gets an alias.
*
- * @param string $id The service identifier
+ * @param string $id The service identifier
*
* @return string The aliased service identifier
*
@@ -583,8 +583,8 @@ public function getAlias($id)
* This methods allows for simple registration of service definition
* with a fluid interface.
*
- * @param string $id The service identifier
- * @param string $class The service class
+ * @param string $id The service identifier
+ * @param string $class The service class
*
* @return Definition A Definition instance
*
@@ -637,8 +637,8 @@ public function getDefinitions()
/**
* Sets a service definition.
*
- * @param string $id The service identifier
- * @param Definition $definition A Definition instance
+ * @param string $id The service identifier
+ * @param Definition $definition A Definition instance
*
* @throws BadMethodCallException When this ContainerBuilder is frozen
*
@@ -660,7 +660,7 @@ public function setDefinition($id, Definition $definition)
/**
* Returns true if a service definition exists under the given identifier.
*
- * @param string $id The service identifier
+ * @param string $id The service identifier
*
* @return Boolean true if the service definition exists, false otherwise
*
@@ -674,7 +674,7 @@ public function hasDefinition($id)
/**
* Gets a service definition.
*
- * @param string $id The service identifier
+ * @param string $id The service identifier
*
* @return Definition A Definition instance
*
@@ -698,7 +698,7 @@ public function getDefinition($id)
*
* The method "unaliases" recursively to return a Definition instance.
*
- * @param string $id The service identifier or alias
+ * @param string $id The service identifier or alias
*
* @return Definition A Definition instance
*
@@ -718,8 +718,8 @@ public function findDefinition($id)
/**
* Creates a service for a service definition.
*
- * @param Definition $definition A service definition instance
- * @param string $id The service identifier
+ * @param Definition $definition A service definition instance
+ * @param string $id The service identifier
*
* @return object The service described by the service definition
*
@@ -803,7 +803,7 @@ private function createService(Definition $definition, $id)
/**
* Replaces service references by the real service instance.
*
- * @param mixed $value A value
+ * @param mixed $value A value
*
* @return mixed The same value with all service references replaced by the real service instances
*/
View
10 ContainerInterface.php
@@ -43,8 +43,8 @@ function set($id, $service, $scope = self::SCOPE_CONTAINER);
/**
* Gets a service.
*
- * @param string $id The service identifier
- * @param int $invalidBehavior The behavior when the service does not exist
+ * @param string $id The service identifier
+ * @param int $invalidBehavior The behavior when the service does not exist
*
* @return object The associated service
*
@@ -59,7 +59,7 @@ function get($id, $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE);
/**
* Returns true if the given service is defined.
*
- * @param string $id The service identifier
+ * @param string $id The service identifier
*
* @return Boolean true if the service is defined, false otherwise
*
@@ -70,7 +70,7 @@ function has($id);
/**
* Gets a parameter.
*
- * @param string $name The parameter name
+ * @param string $name The parameter name
*
* @return mixed The parameter value
*
@@ -83,7 +83,7 @@ function getParameter($name);
/**
* Checks if a parameter exists.
*
- * @param string $name The parameter name
+ * @param string $name The parameter name
*
* @return Boolean The presence of parameter in container
*
View
32 Definition.php
@@ -64,7 +64,7 @@ public function __construct($class = null, array $arguments = array())
* Sets the name of the class that acts as a factory using the factory method,
* which will be invoked statically.
*
- * @param string $factoryClass The factory class name
+ * @param string $factoryClass The factory class name
*
* @return Definition The current instance
*
@@ -92,7 +92,7 @@ public function getFactoryClass()
/**
* Sets the factory method able to create an instance of this class.
*
- * @param string $factoryMethod The factory method name
+ * @param string $factoryMethod The factory method name
*
* @return Definition The current instance
*
@@ -148,7 +148,7 @@ public function getFactoryService()
/**
* Sets the service class.
*
- * @param string $class The service class
+ * @param string $class The service class
*
* @return Definition The current instance
*
@@ -176,7 +176,7 @@ public function getClass()
/**
* Sets the arguments to pass to the service constructor/factory method.
*
- * @param array $arguments An array of arguments
+ * @param array $arguments An array of arguments
*
* @return Definition The current instance
*
@@ -220,7 +220,7 @@ public function setProperty($name, $value)
/**
* Adds an argument to pass to the service constructor/factory method.
*
- * @param mixed $argument An argument
+ * @param mixed $argument An argument
*
* @return Definition The current instance
*
@@ -287,7 +287,7 @@ public function getArgument($index)
/**
* Sets the methods to call after service initialization.
*
- * @param array $calls An array of method calls
+ * @param array $calls An array of method calls
*
* @return Definition The current instance
*
@@ -306,8 +306,8 @@ public function setMethodCalls(array $calls = array())
/**
* Adds a method to call after service initialization.
*
- * @param string $method The method name to call
- * @param array $arguments An array of arguments to pass to the method call
+ * @param string $method The method name to call
+ * @param array $arguments An array of arguments to pass to the method call
*
* @return Definition The current instance
*
@@ -328,7 +328,7 @@ public function addMethodCall($method, array $arguments = array())
/**
* Removes a method to call after service initialization.
*
- * @param string $method The method name to remove
+ * @param string $method The method name to remove
*
* @return Definition The current instance
*
@@ -349,7 +349,7 @@ public function removeMethodCall($method)
/**
* Check if the current definition has a given method to call after service initialization.
*
- * @param string $method The method name to search for
+ * @param string $method The method name to search for
*
* @return Boolean
*
@@ -409,7 +409,7 @@ public function getTags()
/**
* Gets a tag by name.
*
- * @param string $name The tag name
+ * @param string $name The tag name
*
* @return array An array of attributes
*
@@ -423,8 +423,8 @@ public function getTag($name)
/**
* Adds a tag for this definition.
*
- * @param string $name The tag name
- * @param array $attributes An array of attributes
+ * @param string $name The tag name
+ * @param array $attributes An array of attributes
*
* @return Definition The current instance
*
@@ -484,7 +484,7 @@ public function clearTags()
/**
* Sets a file to require before creating the service.
*
- * @param string $file A full pathname to include
+ * @param string $file A full pathname to include
*
* @return Definition The current instance
*
@@ -512,7 +512,7 @@ public function getFile()
/**
* Sets the scope of the service
*
- * @param string $scope Whether the service must be shared or not
+ * @param string $scope Whether the service must be shared or not
*
* @return Definition The current instance
*
@@ -628,7 +628,7 @@ public function isAbstract()
/**
* Sets a configurator to call after the service is fully initialized.
*
- * @param mixed $callable A PHP callable
+ * @param mixed $callable A PHP callable
*
* @return Definition The current instance
*
View
2  Dumper/DumperInterface.php
@@ -23,7 +23,7 @@
/**
* Dumps the service container.
*
- * @param array $options An array of options
+ * @param array $options An array of options
*
* @return string The representation of the service container
*
View
6 Dumper/GraphvizDumper.php
@@ -50,7 +50,7 @@ class GraphvizDumper extends Dumper
* * node.definition: The default options for services that are defined via service definition instances
* * node.missing: The default options for missing services
*
- * @param array $options An array of options
+ * @param array $options An array of options
*
* @return string The dot representation of the service container
*/
@@ -119,8 +119,8 @@ private function addEdges()
/**
* Finds all edges belonging to a specific service id.
*
- * @param string $id The service id used to find edges
- * @param array $arguments An array of arguments
+ * @param string $id The service id used to find edges
+ * @param array $arguments An array of arguments
* @param Boolean $required
* @param string $name
*
View
4 Dumper/PhpDumper.php
@@ -70,7 +70,7 @@ public function __construct(ContainerBuilder $container)
* * 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 of the service container
*
@@ -613,7 +613,7 @@ private function addServices()
/**
* Adds the class headers.
*
- * @param string $class Class name
+ * @param string $class Class name
* @param string $baseClass The name of the base class
*
* @return string
View
2  Dumper/XmlDumper.php
@@ -35,7 +35,7 @@ class XmlDumper extends Dumper
/**
* Dumps the service container as an XML string.
*
- * @param array $options An array of options
+ * @param array $options An array of options
*
* @return string An xml string representing of the service container
*
View
2  Dumper/YamlDumper.php
@@ -46,7 +46,7 @@ public function __construct(ContainerBuilder $container)
/**
* Dumps the service container as an YAML string.
*
- * @param array $options An array of options
+ * @param array $options An array of options
*
* @return string A YAML string representing of the service container
*
View
2  Extension/ConfigurationExtensionInterface.php
@@ -23,7 +23,7 @@
/**
* Returns extension configuration
*
- * @param array $config $config An array of configuration values
+ * @param array $config $config An array of configuration values
* @param ContainerBuilder $container A ContainerBuilder instance
*
* @return ConfigurationInterface|null The configuration or null
View
4 Loader/ClosureLoader.php
@@ -49,8 +49,8 @@ public function load($closure, $type = null)
/**
* Returns true if this class supports the given resource.
*
- * @param mixed $resource A resource
- * @param string $type The resource type
+ * @param mixed $resource A resource
+ * @param string $type The resource type
*
* @return Boolean true if this class supports the given resource, false otherwise
*/
View
4 Loader/IniFileLoader.php
@@ -24,8 +24,8 @@ class IniFileLoader extends FileLoader
/**
* Loads a resource.
*
- * @param mixed $file The resource
- * @param string $type The resource type
+ * @param mixed $file The resource
+ * @param string $type The resource type
*
* @throws InvalidArgumentException When ini file is not valid
*/
View
4 ParameterBag/ParameterBag.php
@@ -115,7 +115,7 @@ public function set($name, $value)
/**
* Returns true if a parameter name is defined.
*
- * @param string $name The parameter name
+ * @param string $name The parameter name
*
* @return Boolean true if the parameter name is defined, false otherwise
*
@@ -166,7 +166,7 @@ public function resolve()
/**
* Replaces parameter placeholders (%name%) by their values.
*
- * @param mixed $value A value
+ * @param mixed $value A value
* @param array $resolving An array of keys that are being resolved (used internally to detect circular references)
*
* @return mixed The resolved value
View
4 ParameterBag/ParameterBagInterface.php
@@ -73,7 +73,7 @@ function set($name, $value);
/**
* Returns true if a parameter name is defined.
*
- * @param string $name The parameter name
+ * @param string $name The parameter name
*
* @return Boolean true if the parameter name is defined, false otherwise
*
@@ -89,7 +89,7 @@ function resolve();
/**
* Replaces parameter placeholders (%name%) by their values.
*
- * @param mixed $value A value
+ * @param mixed $value A value
*
* @throws ParameterNotFoundException if a placeholder references a parameter that does not exist
*/

0 comments on commit 416b8a6

Please sign in to comment.
Something went wrong with that request. Please try again.