diff --git a/src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php b/src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php index 871a2d95c0..b56aad2ee2 100644 --- a/src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php +++ b/src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php @@ -89,7 +89,7 @@ class ContainerAwareEventManager extends EventManager /** * Adds an event listener that listens on the specified events. * - * @param string|array $events The event(s) to listen on. + * @param string|array $events The event(s) to listen on. * @param object|string $listener The listener object. */ public function addEventListener($events, $listener) diff --git a/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php b/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php index 7d917fdcf6..2ec7113d6f 100644 --- a/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php +++ b/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php @@ -136,7 +136,7 @@ abstract class AbstractDoctrineExtension extends Extension * * @param array $bundleConfig * @param \ReflectionClass $bundle - * @param ContainerBuilder $container A ContainerBuilder instance + * @param ContainerBuilder $container A ContainerBuilder instance * * @return array|false */ @@ -174,7 +174,7 @@ abstract class AbstractDoctrineExtension extends Extension * Register all the collected mapping information with the object manager by registering the appropriate mapping drivers. * * @param array $objectManager - * @param ContainerBuilder $container A ContainerBuilder instance + * @param ContainerBuilder $container A ContainerBuilder instance */ protected function registerMappingDrivers($objectManager, ContainerBuilder $container) { diff --git a/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php b/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php index f726f5a34c..389ca83f97 100644 --- a/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php +++ b/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php @@ -29,7 +29,7 @@ class RegisterEventListenersAndSubscribersPass implements CompilerPassInterface * @param string $connections Parameter ID for connections * @param string $managerTemplate sprintf() template for generating the event * manager's service ID for a connection name - * @param string $tagPrefix Tag prefix for listeners and subscribers + * @param string $tagPrefix Tag prefix for listeners and subscribers */ public function __construct($connections, $managerTemplate, $tagPrefix) { diff --git a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/EntityChoiceList.php b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/EntityChoiceList.php index 9a6f794f6b..cde6542dce 100644 --- a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/EntityChoiceList.php +++ b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/EntityChoiceList.php @@ -375,7 +375,7 @@ class EntityChoiceList extends ObjectChoiceList * be persisted or added to the identity map before. Otherwise an * exception is thrown. * - * @param object $entity The entity for which to get the identifier + * @param object $entity The entity for which to get the identifier * * @return array The identifier values * diff --git a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/EntityLoaderInterface.php b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/EntityLoaderInterface.php index ea459a6487..3b9fab208e 100644 --- a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/EntityLoaderInterface.php +++ b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/EntityLoaderInterface.php @@ -31,7 +31,7 @@ interface EntityLoaderInterface * @param string $identifier The identifier field of the object. This method * is not applicable for fields with multiple * identifiers. - * @param array $values The values of the identifiers. + * @param array $values The values of the identifiers. * * @return array The entities. */ diff --git a/src/Symfony/Bridge/Doctrine/Form/DataTransformer/CollectionToArrayTransformer.php b/src/Symfony/Bridge/Doctrine/Form/DataTransformer/CollectionToArrayTransformer.php index 3fa5c5eccf..2c1e7fefbb 100644 --- a/src/Symfony/Bridge/Doctrine/Form/DataTransformer/CollectionToArrayTransformer.php +++ b/src/Symfony/Bridge/Doctrine/Form/DataTransformer/CollectionToArrayTransformer.php @@ -24,7 +24,7 @@ class CollectionToArrayTransformer implements DataTransformerInterface /** * Transforms a collection into an array. * - * @param Collection $collection A collection of entities + * @param Collection $collection A collection of entities * * @return mixed An array of entities */ @@ -44,7 +44,7 @@ class CollectionToArrayTransformer implements DataTransformerInterface /** * Transforms choice keys into entities. * - * @param mixed $array An array of entities + * @param mixed $array An array of entities * * @return Collection A collection of entities */ diff --git a/src/Symfony/Bridge/Doctrine/HttpFoundation/DbalSessionHandler.php b/src/Symfony/Bridge/Doctrine/HttpFoundation/DbalSessionHandler.php index cef6cec860..9a41efbb6f 100644 --- a/src/Symfony/Bridge/Doctrine/HttpFoundation/DbalSessionHandler.php +++ b/src/Symfony/Bridge/Doctrine/HttpFoundation/DbalSessionHandler.php @@ -35,8 +35,8 @@ class DbalSessionHandler implements \SessionHandlerInterface /** * Constructor. * - * @param Connection $con An instance of Connection. - * @param string $tableName Table name. + * @param Connection $con An instance of Connection. + * @param string $tableName Table name. */ public function __construct(Connection $con, $tableName = 'sessions') { diff --git a/src/Symfony/Bridge/Propel1/DataCollector/PropelDataCollector.php b/src/Symfony/Bridge/Propel1/DataCollector/PropelDataCollector.php index 4a33ecddb9..7c6899f323 100644 --- a/src/Symfony/Bridge/Propel1/DataCollector/PropelDataCollector.php +++ b/src/Symfony/Bridge/Propel1/DataCollector/PropelDataCollector.php @@ -38,8 +38,8 @@ class PropelDataCollector extends DataCollector /** * Constructor * - * @param \Symfony\Bridge\Propel1\Logger\PropelLogger $logger A Propel logger. - * @param \PropelConfiguration $propelConfiguration The Propel configuration object. + * @param \Symfony\Bridge\Propel1\Logger\PropelLogger $logger A Propel logger. + * @param \PropelConfiguration $propelConfiguration The Propel configuration object. */ public function __construct(PropelLogger $logger, \PropelConfiguration $propelConfiguration) { diff --git a/src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php b/src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php index 254de8385e..7a0544c0b3 100644 --- a/src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php +++ b/src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php @@ -335,7 +335,7 @@ class ModelChoiceList extends ObjectChoiceList * be persisted or added to the idmodel map before. Otherwise an * exception is thrown. * - * @param object $model The model for which to get the identifier + * @param object $model The model for which to get the identifier * @throws FormException If the model does not exist */ private function getIdentifierValues($model) diff --git a/src/Symfony/Bridge/Propel1/Logger/PropelLogger.php b/src/Symfony/Bridge/Propel1/Logger/PropelLogger.php index 9ef6aed47e..43211a034d 100644 --- a/src/Symfony/Bridge/Propel1/Logger/PropelLogger.php +++ b/src/Symfony/Bridge/Propel1/Logger/PropelLogger.php @@ -42,7 +42,7 @@ class PropelLogger /** * Constructor. * - * @param LoggerInterface $logger A LoggerInterface instance + * @param LoggerInterface $logger A LoggerInterface instance * @param Stopwatch $stopwatch A Stopwatch instance */ public function __construct(LoggerInterface $logger = null, Stopwatch $stopwatch = null) diff --git a/src/Symfony/Bridge/Twig/Extension/FormExtension.php b/src/Symfony/Bridge/Twig/Extension/FormExtension.php index ef208ac7eb..dfe4414d71 100644 --- a/src/Symfony/Bridge/Twig/Extension/FormExtension.php +++ b/src/Symfony/Bridge/Twig/Extension/FormExtension.php @@ -108,7 +108,7 @@ class FormExtension extends \Twig_Extension * *
* - * @param FormView $view The view for which to render the encoding type + * @param FormView $view The view for which to render the encoding type * * @return string The html markup */ @@ -156,8 +156,8 @@ class FormExtension extends \Twig_Extension * * {{ form_widget(view, {'separator': '+++++'}) }} * - * @param FormView $view The view to render - * @param array $variables Additional variables passed to the template + * @param FormView $view The view to render + * @param array $variables Additional variables passed to the template * * @return string The html markup */ @@ -181,8 +181,8 @@ class FormExtension extends \Twig_Extension /** * Renders the label of the given view * - * @param FormView $view The view to render the label for - * @param string $label Label name + * @param FormView $view The view to render the label for + * @param string $label Label name * @param array $variables Additional variables passed to the template * * @return string The html markup @@ -205,9 +205,9 @@ class FormExtension extends \Twig_Extension * 3. the type name is recursively replaced by the parent type name until a * corresponding block is found * - * @param FormView $view The form view - * @param string $section The section to render (i.e. 'row', 'widget', 'label', ...) - * @param array $variables Additional variables + * @param FormView $view The form view + * @param string $section The section to render (i.e. 'row', 'widget', 'label', ...) + * @param array $variables Additional variables * * @return string The html markup * diff --git a/src/Symfony/Bridge/Twig/TokenParser/FormThemeTokenParser.php b/src/Symfony/Bridge/Twig/TokenParser/FormThemeTokenParser.php index d72c0e3a1b..244d676e3c 100644 --- a/src/Symfony/Bridge/Twig/TokenParser/FormThemeTokenParser.php +++ b/src/Symfony/Bridge/Twig/TokenParser/FormThemeTokenParser.php @@ -23,7 +23,7 @@ class FormThemeTokenParser extends \Twig_TokenParser /** * Parses a token and returns a node. * - * @param \Twig_Token $token A Twig_Token instance + * @param \Twig_Token $token A Twig_Token instance * * @return \Twig_NodeInterface A Twig_NodeInterface instance */ diff --git a/src/Symfony/Bridge/Twig/TokenParser/TransChoiceTokenParser.php b/src/Symfony/Bridge/Twig/TokenParser/TransChoiceTokenParser.php index 9862efd192..872bd2eac5 100644 --- a/src/Symfony/Bridge/Twig/TokenParser/TransChoiceTokenParser.php +++ b/src/Symfony/Bridge/Twig/TokenParser/TransChoiceTokenParser.php @@ -23,7 +23,7 @@ class TransChoiceTokenParser extends TransTokenParser /** * Parses a token and returns a node. * - * @param \Twig_Token $token A Twig_Token instance + * @param \Twig_Token $token A Twig_Token instance * * @return \Twig_NodeInterface A Twig_NodeInterface instance */ diff --git a/src/Symfony/Bridge/Twig/TokenParser/TransDefaultDomainTokenParser.php b/src/Symfony/Bridge/Twig/TokenParser/TransDefaultDomainTokenParser.php index 7030dfff6c..0a0ed55b55 100644 --- a/src/Symfony/Bridge/Twig/TokenParser/TransDefaultDomainTokenParser.php +++ b/src/Symfony/Bridge/Twig/TokenParser/TransDefaultDomainTokenParser.php @@ -23,7 +23,7 @@ class TransDefaultDomainTokenParser extends \Twig_TokenParser /** * Parses a token and returns a node. * - * @param \Twig_Token $token A Twig_Token instance + * @param \Twig_Token $token A Twig_Token instance * * @return \Twig_NodeInterface A Twig_NodeInterface instance */ diff --git a/src/Symfony/Bridge/Twig/TokenParser/TransTokenParser.php b/src/Symfony/Bridge/Twig/TokenParser/TransTokenParser.php index 20a5086335..082c4a4801 100644 --- a/src/Symfony/Bridge/Twig/TokenParser/TransTokenParser.php +++ b/src/Symfony/Bridge/Twig/TokenParser/TransTokenParser.php @@ -23,7 +23,7 @@ class TransTokenParser extends \Twig_TokenParser /** * Parses a token and returns a node. * - * @param \Twig_Token $token A Twig_Token instance + * @param \Twig_Token $token A Twig_Token instance * * @return \Twig_NodeInterface A Twig_NodeInterface instance */ diff --git a/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplateFinder.php b/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplateFinder.php index c9b8712da2..16675f44fc 100644 --- a/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplateFinder.php +++ b/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplateFinder.php @@ -31,9 +31,9 @@ class TemplateFinder implements TemplateFinderInterface /** * Constructor. * - * @param KernelInterface $kernel A KernelInterface instance - * @param TemplateNameParser $parser A TemplateNameParser instance - * @param string $rootDir The directory where global templates can be stored + * @param KernelInterface $kernel A KernelInterface instance + * @param TemplateNameParser $parser A TemplateNameParser instance + * @param string $rootDir The directory where global templates can be stored */ public function __construct(KernelInterface $kernel, TemplateNameParser $parser, $rootDir) { diff --git a/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplatePathsCacheWarmer.php b/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplatePathsCacheWarmer.php index 3c98696342..0936290107 100644 --- a/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplatePathsCacheWarmer.php +++ b/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplatePathsCacheWarmer.php @@ -27,8 +27,8 @@ class TemplatePathsCacheWarmer extends CacheWarmer /** * Constructor. * - * @param TemplateFinderInterface $finder A template finder - * @param TemplateLocator $locator The template locator + * @param TemplateFinderInterface $finder A template finder + * @param TemplateLocator $locator The template locator */ public function __construct(TemplateFinderInterface $finder, TemplateLocator $locator) { diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php b/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php index 37df096a74..ba3a8baf8c 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php @@ -102,9 +102,9 @@ class Controller extends ContainerAware /** * Streams a view. * - * @param string $view The view name + * @param string $view The view name * @param array $parameters An array of parameters to pass to the view - * @param StreamedResponse $response A response instance + * @param StreamedResponse $response A response instance * * @return StreamedResponse A StreamedResponse instance */ diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php index 6fd52fa15c..6e46587be6 100644 --- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php +++ b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php @@ -336,7 +336,7 @@ class FrameworkExtension extends Extension /** * Loads the templating configuration. * - * @param array $config A templating configuration array + * @param array $config A templating configuration array * @param string $ide * @param ContainerBuilder $container A ContainerBuilder instance * @param XmlFileLoader $loader An XmlFileLoader instance diff --git a/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php b/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php index 54a9c38c13..523bd17703 100644 --- a/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php +++ b/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php @@ -62,9 +62,9 @@ class HttpKernel extends BaseHttpKernel /** * Forwards the request to another controller. * - * @param string $controller The controller name (a string like BlogBundle:Post:index) - * @param array $attributes An array of request attributes - * @param array $query An array of request query parameters + * @param string $controller The controller name (a string like BlogBundle:Post:index) + * @param array $attributes An array of request attributes + * @param array $query An array of request query parameters * * @return Response A Response instance */ diff --git a/src/Symfony/Bundle/FrameworkBundle/Routing/RedirectableUrlMatcher.php b/src/Symfony/Bundle/FrameworkBundle/Routing/RedirectableUrlMatcher.php index 8a3607d397..ffbb6487cb 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Routing/RedirectableUrlMatcher.php +++ b/src/Symfony/Bundle/FrameworkBundle/Routing/RedirectableUrlMatcher.php @@ -21,9 +21,9 @@ class RedirectableUrlMatcher extends BaseMatcher /** * 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 */ diff --git a/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelper.php b/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelper.php index 5e6e13c808..1997df9661 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelper.php +++ b/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelper.php @@ -114,8 +114,8 @@ class CodeHelper extends Helper /** * Returns an excerpt of a code file around the given line number. * - * @param string $file A file path - * @param int $line The selected line number + * @param string $file A file path + * @param int $line The selected line number * * @return string An HTML string */ @@ -139,9 +139,9 @@ class CodeHelper extends Helper /** * Formats a file path. * - * @param string $file An absolute file path - * @param integer $line The line number - * @param string $text Use this text for the link rather than the file path + * @param string $file An absolute file path + * @param integer $line The line number + * @param string $text Use this text for the link rather than the file path * * @return string */ @@ -168,8 +168,8 @@ class CodeHelper extends Helper /** * Returns the link for a given file/line pair. * - * @param string $file An absolute file path - * @param integer $line The line number + * @param string $file An absolute file path + * @param integer $line The line number * * @return string A link of false */ diff --git a/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/FormHelper.php b/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/FormHelper.php index 8fd4adef89..04f8909760 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/FormHelper.php +++ b/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/FormHelper.php @@ -90,7 +90,7 @@ class FormHelper extends Helper * * enctype() ?>> * - * @param FormView $view The view for which to render the encoding type + * @param FormView $view The view for which to render the encoding type * * @return string The html markup */ @@ -219,9 +219,9 @@ class FormHelper extends Helper * 3. the type name is recursively replaced by the parent type name until a * corresponding block is found * - * @param FormView $view The form view - * @param string $section The section to render (i.e. 'row', 'widget', 'label', ...) - * @param array $variables Additional variables + * @param FormView $view The form view + * @param string $section The section to render (i.e. 'row', 'widget', 'label', ...) + * @param array $variables Additional variables * * @return string The html markup * @@ -290,7 +290,7 @@ class FormHelper extends Helper * Render a block from a form element. * * @param string $name - * @param array $variables Additional variables (those would override the current context) + * @param array $variables Additional variables (those would override the current context) * * @throws FormException if the block is not found * @throws FormException if the method is called out of a form element (no context) diff --git a/src/Symfony/Bundle/FrameworkBundle/Templating/Loader/TemplateLocator.php b/src/Symfony/Bundle/FrameworkBundle/Templating/Loader/TemplateLocator.php index cf2f32e45d..0ff6b8cbb7 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Templating/Loader/TemplateLocator.php +++ b/src/Symfony/Bundle/FrameworkBundle/Templating/Loader/TemplateLocator.php @@ -42,7 +42,7 @@ class TemplateLocator implements FileLocatorInterface /** * Returns a full path for a given file. * - * @param TemplateReferenceInterface $template A template + * @param TemplateReferenceInterface $template A template * * @return string The full path for the file */ @@ -54,9 +54,9 @@ class TemplateLocator implements FileLocatorInterface /** * Returns a full path for a given file. * - * @param TemplateReferenceInterface $template A template - * @param string $currentPath Unused - * @param Boolean $first Unused + * @param TemplateReferenceInterface $template A template + * @param string $currentPath Unused + * @param Boolean $first Unused * * @return string The full path for the file * diff --git a/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php b/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php index 595ee055bb..506466de25 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php +++ b/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php @@ -28,8 +28,8 @@ abstract class WebTestCase extends \PHPUnit_Framework_TestCase /** * Creates a Client. * - * @param array $options An array of options to pass to the createKernel class - * @param array $server An array of server parameters + * @param array $options An array of options to pass to the createKernel class + * @param array $server An array of server parameters * * @return Client A Client instance */ diff --git a/src/Symfony/Bundle/FrameworkBundle/Translation/TranslationLoader.php b/src/Symfony/Bundle/FrameworkBundle/Translation/TranslationLoader.php index 3d9396291b..67e8272f02 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Translation/TranslationLoader.php +++ b/src/Symfony/Bundle/FrameworkBundle/Translation/TranslationLoader.php @@ -42,7 +42,7 @@ class TranslationLoader /** * Loads translation messages from a directory to the catalogue. * - * @param string $directory the directory to look into + * @param string $directory the directory to look into * @param MessageCatalogue $catalogue the catalogue */ public function loadMessages($directory, MessageCatalogue $catalogue) diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AbstractFactory.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AbstractFactory.php index b0cfadd546..179f9d663c 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AbstractFactory.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AbstractFactory.php @@ -90,9 +90,9 @@ abstract class AbstractFactory implements SecurityFactoryInterface * AuthenticationProviderInterface. * * @param ContainerBuilder $container - * @param string $id The unique id of the firewall - * @param array $config The options array for this listener - * @param string $userProviderId The id of the user provider + * @param string $id The unique id of the firewall + * @param array $config The options array for this listener + * @param string $userProviderId The id of the user provider * * @return string never null, the id of the authentication provider */ diff --git a/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php b/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php index 9454887c43..b3fc85c28e 100644 --- a/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php +++ b/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php @@ -85,7 +85,7 @@ class ExceptionController extends ContainerAware /** * @param EngineInterface $templating * @param string $format - * @param integer $code An HTTP response status code + * @param integer $code An HTTP response status code * @param Boolean $debug * * @return TemplateReference diff --git a/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php b/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php index b66a02d19c..9399053de8 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php +++ b/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php @@ -63,7 +63,7 @@ class ProfilerController extends ContainerAware /** * Exports data for a given token. * - * @param string $token The profiler token + * @param string $token The profiler token * * @return Response A Response instance */ diff --git a/src/Symfony/Component/BrowserKit/Cookie.php b/src/Symfony/Component/BrowserKit/Cookie.php index 16f5c848f6..16063ee8ed 100644 --- a/src/Symfony/Component/BrowserKit/Cookie.php +++ b/src/Symfony/Component/BrowserKit/Cookie.php @@ -45,14 +45,14 @@ class Cookie /** * Sets a cookie. * - * @param string $name The cookie name - * @param string $value The value of the cookie - * @param string $expires The time the cookie expires - * @param string $path The path on the server in which the cookie will be available on - * @param string $domain The domain that the cookie is available - * @param Boolean $secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client - * @param Boolean $httponly The cookie httponly flag - * @param Boolean $encodedValue Whether the value is encoded or not + * @param string $name The cookie name + * @param string $value The value of the cookie + * @param string $expires The time the cookie expires + * @param string $path The path on the server in which the cookie will be available on + * @param string $domain The domain that the cookie is available + * @param Boolean $secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client + * @param Boolean $httponly The cookie httponly flag + * @param Boolean $encodedValue Whether the value is encoded or not * * @api */ diff --git a/src/Symfony/Component/BrowserKit/CookieJar.php b/src/Symfony/Component/BrowserKit/CookieJar.php index 5401f93575..2a5c170884 100644 --- a/src/Symfony/Component/BrowserKit/CookieJar.php +++ b/src/Symfony/Component/BrowserKit/CookieJar.php @@ -91,8 +91,8 @@ class CookieJar /** * Updates the cookie jar from a response Set-Cookie headers. * - * @param array $setCookies Set-Cookie headers from an HTTP response - * @param string $uri The base URL + * @param array $setCookies Set-Cookie headers from an HTTP response + * @param string $uri The base URL */ public function updateFromSetCookie(array $setCookies, $uri = null) { @@ -117,7 +117,7 @@ class CookieJar * Updates the cookie jar from a Response object. * * @param Response $response A Response object - * @param string $uri The base URL + * @param string $uri The base URL */ public function updateFromResponse(Response $response, $uri = null) { diff --git a/src/Symfony/Component/Config/ConfigCache.php b/src/Symfony/Component/Config/ConfigCache.php index 421cb7cc43..1a96bddd3c 100644 --- a/src/Symfony/Component/Config/ConfigCache.php +++ b/src/Symfony/Component/Config/ConfigCache.php @@ -27,8 +27,8 @@ class ConfigCache /** * Constructor. * - * @param string $file The absolute cache path - * @param Boolean $debug Whether debugging is enabled or not + * @param string $file The absolute cache path + * @param Boolean $debug Whether debugging is enabled or not */ public function __construct($file, $debug) { diff --git a/src/Symfony/Component/Config/Definition/ArrayNode.php b/src/Symfony/Component/Config/Definition/ArrayNode.php index 22ec0922bf..2c422c85af 100644 --- a/src/Symfony/Component/Config/Definition/ArrayNode.php +++ b/src/Symfony/Component/Config/Definition/ArrayNode.php @@ -34,7 +34,7 @@ class ArrayNode extends BaseNode implements PrototypeNodeInterface /** * Constructor. * - * @param string $name The Node's name + * @param string $name The Node's name * @param NodeInterface $parent The node parent */ public function __construct($name, NodeInterface $parent = null) @@ -311,7 +311,7 @@ class ArrayNode extends BaseNode implements PrototypeNodeInterface /** * Merges values together. * - * @param mixed $leftSide The left side to merge. + * @param mixed $leftSide The left side to merge. * @param mixed $rightSide The right side to merge. * * @return mixed The merged values diff --git a/src/Symfony/Component/Config/Definition/BaseNode.php b/src/Symfony/Component/Config/Definition/BaseNode.php index cd533e1964..cd3a72cd76 100644 --- a/src/Symfony/Component/Config/Definition/BaseNode.php +++ b/src/Symfony/Component/Config/Definition/BaseNode.php @@ -35,7 +35,7 @@ abstract class BaseNode implements NodeInterface /** * Constructor. * - * @param string $name The name of the node + * @param string $name The name of the node * @param NodeInterface $parent The parent of this node * * @throws \InvalidArgumentException if the name contains a period. diff --git a/src/Symfony/Component/Config/Definition/Builder/NodeBuilder.php b/src/Symfony/Component/Config/Definition/Builder/NodeBuilder.php index 3212040f96..021e0651af 100644 --- a/src/Symfony/Component/Config/Definition/Builder/NodeBuilder.php +++ b/src/Symfony/Component/Config/Definition/Builder/NodeBuilder.php @@ -164,7 +164,7 @@ class NodeBuilder implements NodeParentInterface /** * Adds or overrides a node Type. * - * @param string $type The name of the type + * @param string $type The name of the type * @param string $class The fully qualified name the node definition class * * @return NodeBuilder This node builder diff --git a/src/Symfony/Component/Config/Definition/Builder/NodeDefinition.php b/src/Symfony/Component/Config/Definition/Builder/NodeDefinition.php index 561143bc61..0e67e4e2dd 100644 --- a/src/Symfony/Component/Config/Definition/Builder/NodeDefinition.php +++ b/src/Symfony/Component/Config/Definition/Builder/NodeDefinition.php @@ -38,8 +38,8 @@ abstract class NodeDefinition implements NodeParentInterface /** * Constructor * - * @param string $name The name of the node - * @param NodeParentInterface $parent The parent + * @param string $name The name of the node + * @param NodeParentInterface $parent The parent */ public function __construct($name, NodeParentInterface $parent = null) { diff --git a/src/Symfony/Component/Config/Definition/Builder/TreeBuilder.php b/src/Symfony/Component/Config/Definition/Builder/TreeBuilder.php index 472cfdef99..1070fd78e6 100644 --- a/src/Symfony/Component/Config/Definition/Builder/TreeBuilder.php +++ b/src/Symfony/Component/Config/Definition/Builder/TreeBuilder.php @@ -25,9 +25,9 @@ class TreeBuilder implements NodeParentInterface /** * Creates the root node. * - * @param string $name The name of the root node - * @param string $type The type of the root node - * @param NodeBuilder $builder A custom node builder instance + * @param string $name The name of the root node + * @param string $type The type of the root node + * @param NodeBuilder $builder A custom node builder instance * * @return ArrayNodeDefinition|NodeDefinition The root node (as an ArrayNodeDefinition when the type is 'array') * diff --git a/src/Symfony/Component/Config/Definition/Processor.php b/src/Symfony/Component/Config/Definition/Processor.php index 2ad8d1b842..a6c3181118 100644 --- a/src/Symfony/Component/Config/Definition/Processor.php +++ b/src/Symfony/Component/Config/Definition/Processor.php @@ -42,8 +42,8 @@ class Processor /** * Processes an array of configurations. * - * @param ConfigurationInterface $configuration The configuration class - * @param array $configs An array of configuration items to process + * @param ConfigurationInterface $configuration The configuration class + * @param array $configs An array of configuration items to process * * @return array The processed configuration */ diff --git a/src/Symfony/Component/Config/Definition/PrototypedArrayNode.php b/src/Symfony/Component/Config/Definition/PrototypedArrayNode.php index f800a3f8f5..53154d41df 100644 --- a/src/Symfony/Component/Config/Definition/PrototypedArrayNode.php +++ b/src/Symfony/Component/Config/Definition/PrototypedArrayNode.php @@ -33,7 +33,7 @@ class PrototypedArrayNode extends ArrayNode /** * Constructor. * - * @param string $name The Node's name + * @param string $name The Node's name * @param NodeInterface $parent The node parent */ public function __construct($name, NodeInterface $parent = null) @@ -77,7 +77,7 @@ class PrototypedArrayNode extends ArrayNode * array, then you can set the second argument of this method to false. * * @param string $attribute The name of the attribute which value is to be used as a key - * @param Boolean $remove Whether or not to remove the key + * @param Boolean $remove Whether or not to remove the key */ public function setKeyAttribute($attribute, $remove = true) { @@ -288,7 +288,7 @@ class PrototypedArrayNode extends ArrayNode /** * Merges values together. * - * @param mixed $leftSide The left side to merge. + * @param mixed $leftSide The left side to merge. * @param mixed $rightSide The right side to merge. * * @return mixed The merged values diff --git a/src/Symfony/Component/Config/Exception/FileLoaderLoadException.php b/src/Symfony/Component/Config/Exception/FileLoaderLoadException.php index 3216b4b67c..fcf61db9f5 100644 --- a/src/Symfony/Component/Config/Exception/FileLoaderLoadException.php +++ b/src/Symfony/Component/Config/Exception/FileLoaderLoadException.php @@ -19,10 +19,10 @@ namespace Symfony\Component\Config\Exception; class FileLoaderLoadException extends \Exception { /** - * @param string $resource The resource that could not be imported - * @param string $sourceResource The original resource importing the new resource - * @param integer $code The error code - * @param Exception $previous A previous exception + * @param string $resource The resource that could not be imported + * @param string $sourceResource The original resource importing the new resource + * @param integer $code The error code + * @param Exception $previous A previous exception */ public function __construct($resource, $sourceResource = null, $code = null, $previous = null) { diff --git a/src/Symfony/Component/Console/Application.php b/src/Symfony/Component/Console/Application.php index 039f803a6f..ffee1bb902 100644 --- a/src/Symfony/Component/Console/Application.php +++ b/src/Symfony/Component/Console/Application.php @@ -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 @@ class Application * 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 @@ class Application * * 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 @@ class Application /** * 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 @@ class Application /** * 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 @@ class Application * 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 */ diff --git a/src/Symfony/Component/Console/Formatter/OutputFormatter.php b/src/Symfony/Component/Console/Formatter/OutputFormatter.php index 554fd6ca44..8e2c2c374c 100644 --- a/src/Symfony/Component/Console/Formatter/OutputFormatter.php +++ b/src/Symfony/Component/Console/Formatter/OutputFormatter.php @@ -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 @@ class OutputFormatter implements OutputFormatterInterface /** * 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 @@ class OutputFormatter implements OutputFormatterInterface * 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 */ diff --git a/src/Symfony/Component/Console/Formatter/OutputFormatterInterface.php b/src/Symfony/Component/Console/Formatter/OutputFormatterInterface.php index f14657ce64..55359f50d0 100644 --- a/src/Symfony/Component/Console/Formatter/OutputFormatterInterface.php +++ b/src/Symfony/Component/Console/Formatter/OutputFormatterInterface.php @@ -73,7 +73,7 @@ interface OutputFormatterInterface /** * 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 * diff --git a/src/Symfony/Component/Console/Formatter/OutputFormatterStyle.php b/src/Symfony/Component/Console/Formatter/OutputFormatterStyle.php index dc88f2a8c5..8eafce9c8f 100644 --- a/src/Symfony/Component/Console/Formatter/OutputFormatterStyle.php +++ b/src/Symfony/Component/Console/Formatter/OutputFormatterStyle.php @@ -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 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface /** * 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 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface /** * 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 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface /** * 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 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface /** * Unsets some specific style option. * - * @param string $option option name + * @param string $option option name * * @throws \InvalidArgumentException When the option name isn't defined * diff --git a/src/Symfony/Component/Console/Formatter/OutputFormatterStyleInterface.php b/src/Symfony/Component/Console/Formatter/OutputFormatterStyleInterface.php index 212cb86ff0..5c9e74f648 100644 --- a/src/Symfony/Component/Console/Formatter/OutputFormatterStyleInterface.php +++ b/src/Symfony/Component/Console/Formatter/OutputFormatterStyleInterface.php @@ -23,7 +23,7 @@ interface OutputFormatterStyleInterface /** * Sets style foreground color. * - * @param string $color color name + * @param string $color color name * * @api */ @@ -32,7 +32,7 @@ interface OutputFormatterStyleInterface /** * Sets style background color. * - * @param string $color color name + * @param string $color color name * * @api */ @@ -41,7 +41,7 @@ interface OutputFormatterStyleInterface /** * Sets some specific style option. * - * @param string $option option name + * @param string $option option name * * @api */ @@ -50,7 +50,7 @@ interface OutputFormatterStyleInterface /** * Unsets some specific style option. * - * @param string $option option name + * @param string $option option name */ function unsetOption($option); diff --git a/src/Symfony/Component/Console/Helper/DialogHelper.php b/src/Symfony/Component/Console/Helper/DialogHelper.php index e15fdd18be..2084689e64 100644 --- a/src/Symfony/Component/Console/Helper/DialogHelper.php +++ b/src/Symfony/Component/Console/Helper/DialogHelper.php @@ -82,7 +82,7 @@ class DialogHelper extends Helper * @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 * diff --git a/src/Symfony/Component/Console/Helper/FormatterHelper.php b/src/Symfony/Component/Console/Helper/FormatterHelper.php index d3f613bb7c..ea531296e8 100644 --- a/src/Symfony/Component/Console/Helper/FormatterHelper.php +++ b/src/Symfony/Component/Console/Helper/FormatterHelper.php @@ -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') { diff --git a/src/Symfony/Component/Console/Helper/HelperSet.php b/src/Symfony/Component/Console/Helper/HelperSet.php index 0092c4c30e..d95c9a3036 100644 --- a/src/Symfony/Component/Console/Helper/HelperSet.php +++ b/src/Symfony/Component/Console/Helper/HelperSet.php @@ -55,7 +55,7 @@ class HelperSet /** * 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 */ diff --git a/src/Symfony/Component/Console/Input/ArgvInput.php b/src/Symfony/Component/Console/Input/ArgvInput.php index 9ce04be977..3ca9b0521e 100644 --- a/src/Symfony/Component/Console/Input/ArgvInput.php +++ b/src/Symfony/Component/Console/Input/ArgvInput.php @@ -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 @@ class ArgvInput extends Input * 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 */ diff --git a/src/Symfony/Component/Console/Input/ArrayInput.php b/src/Symfony/Component/Console/Input/ArrayInput.php index c9d8ee98a3..9921fffc85 100644 --- a/src/Symfony/Component/Console/Input/ArrayInput.php +++ b/src/Symfony/Component/Console/Input/ArrayInput.php @@ -90,8 +90,8 @@ class ArrayInput extends Input * 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 */ diff --git a/src/Symfony/Component/Console/Input/InputInterface.php b/src/Symfony/Component/Console/Input/InputInterface.php index a4a622340f..8a3d5197e4 100644 --- a/src/Symfony/Component/Console/Input/InputInterface.php +++ b/src/Symfony/Component/Console/Input/InputInterface.php @@ -43,8 +43,8 @@ interface InputInterface * 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 */ diff --git a/src/Symfony/Component/Console/Input/StringInput.php b/src/Symfony/Component/Console/Input/StringInput.php index 72b725bd5c..7e0aba2004 100644 --- a/src/Symfony/Component/Console/Input/StringInput.php +++ b/src/Symfony/Component/Console/Input/StringInput.php @@ -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 diff --git a/src/Symfony/Component/Console/Output/ConsoleOutput.php b/src/Symfony/Component/Console/Output/ConsoleOutput.php index 21be9438b0..0b7e083e39 100644 --- a/src/Symfony/Component/Console/Output/ConsoleOutput.php +++ b/src/Symfony/Component/Console/Output/ConsoleOutput.php @@ -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 diff --git a/src/Symfony/Component/Console/Output/NullOutput.php b/src/Symfony/Component/Console/Output/NullOutput.php index f6c99ab031..ae3b7f61f0 100644 --- a/src/Symfony/Component/Console/Output/NullOutput.php +++ b/src/Symfony/Component/Console/Output/NullOutput.php @@ -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) diff --git a/src/Symfony/Component/Console/Output/StreamOutput.php b/src/Symfony/Component/Console/Output/StreamOutput.php index de1720ffc9..79bb025e92 100644 --- a/src/Symfony/Component/Console/Output/StreamOutput.php +++ b/src/Symfony/Component/Console/Output/StreamOutput.php @@ -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 diff --git a/src/Symfony/Component/CssSelector/CssSelector.php b/src/Symfony/Component/CssSelector/CssSelector.php index 86f81ebc72..d98aed147e 100644 --- a/src/Symfony/Component/CssSelector/CssSelector.php +++ b/src/Symfony/Component/CssSelector/CssSelector.php @@ -33,8 +33,8 @@ class CssSelector * Optionally, a prefix can be added to the resulting XPath * expression with the $prefix parameter. * - * @param mixed $cssExpr The CSS expression. - * @param string $prefix An optional prefix for the XPath expression. + * @param mixed $cssExpr The CSS expression. + * @param string $prefix An optional prefix for the XPath expression. * * @return string * @@ -86,7 +86,7 @@ class CssSelector * * @throws \Exception When tokenizer throws it while parsing * - * @param string $string The expression to parse + * @param string $string The expression to parse * * @return Node\NodeInterface */ @@ -109,7 +109,7 @@ class CssSelector * Parses a selector group contained in $stream and returns * the Node object that represents the expression. * - * @param TokenStream $stream The stream to parse. + * @param TokenStream $stream The stream to parse. * * @return Node\NodeInterface */ @@ -138,7 +138,7 @@ class CssSelector * * @throws ParseException When expected selector but got something else * - * @param TokenStream $stream The stream containing the selector. + * @param TokenStream $stream The stream containing the selector. * * @return Node\NodeInterface */ @@ -179,7 +179,7 @@ class CssSelector * * @throws ParseException When expected symbol but got something else * - * @param TokenStream $stream The stream containing the selector. + * @param TokenStream $stream The stream containing the selector. * * @return Node\NodeInterface */ @@ -286,9 +286,9 @@ class CssSelector * * @throws ParseException When encountered unexpected selector * - * @param Node\NodeInterface $selector The selector object whose attribute + * @param Node\NodeInterface $selector The selector object whose attribute * is to be parsed. - * @param TokenStream $stream The container token stream. + * @param TokenStream $stream The container token stream. * * @return Node\AttribNode */ diff --git a/src/Symfony/Component/CssSelector/Node/AttribNode.php b/src/Symfony/Component/CssSelector/Node/AttribNode.php index 958a413c94..b89606e542 100644 --- a/src/Symfony/Component/CssSelector/Node/AttribNode.php +++ b/src/Symfony/Component/CssSelector/Node/AttribNode.php @@ -33,11 +33,11 @@ class AttribNode implements NodeInterface /** * Constructor. * - * @param NodeInterface $selector The XPath selector - * @param string $namespace The namespace - * @param string $attrib The attribute - * @param string $operator The operator - * @param string $value The value + * @param NodeInterface $selector The XPath selector + * @param string $namespace The namespace + * @param string $attrib The attribute + * @param string $operator The operator + * @param string $value The value */ public function __construct($selector, $namespace, $attrib, $operator, $value) { diff --git a/src/Symfony/Component/CssSelector/Node/ClassNode.php b/src/Symfony/Component/CssSelector/Node/ClassNode.php index b54d2f1539..014aa80e9e 100644 --- a/src/Symfony/Component/CssSelector/Node/ClassNode.php +++ b/src/Symfony/Component/CssSelector/Node/ClassNode.php @@ -29,8 +29,8 @@ class ClassNode implements NodeInterface /** * The constructor. * - * @param NodeInterface $selector The XPath Selector - * @param string $className The class name + * @param NodeInterface $selector The XPath Selector + * @param string $className The class name */ public function __construct($selector, $className) { diff --git a/src/Symfony/Component/CssSelector/Node/CombinedSelectorNode.php b/src/Symfony/Component/CssSelector/Node/CombinedSelectorNode.php index e435a87d0f..e9df87464f 100644 --- a/src/Symfony/Component/CssSelector/Node/CombinedSelectorNode.php +++ b/src/Symfony/Component/CssSelector/Node/CombinedSelectorNode.php @@ -37,8 +37,8 @@ class CombinedSelectorNode implements NodeInterface /** * The constructor. * - * @param NodeInterface $selector The XPath selector - * @param string $combinator The combinator + * @param NodeInterface $selector The XPath selector + * @param string $combinator The combinator * @param NodeInterface $subselector The sub XPath selector */ public function __construct($selector, $combinator, $subselector) @@ -77,8 +77,8 @@ class CombinedSelectorNode implements NodeInterface /** * Joins a NodeInterface into the XPath of this object. * - * @param XPathExpr $xpath The XPath expression for this object - * @param NodeInterface $sub The NodeInterface object to add + * @param XPathExpr $xpath The XPath expression for this object + * @param NodeInterface $sub The NodeInterface object to add */ protected function _xpath_descendant($xpath, $sub) { @@ -91,8 +91,8 @@ class CombinedSelectorNode implements NodeInterface /** * Joins a NodeInterface as a child of this object. * - * @param XPathExpr $xpath The parent XPath expression - * @param NodeInterface $sub The NodeInterface object to add + * @param XPathExpr $xpath The parent XPath expression + * @param NodeInterface $sub The NodeInterface object to add */ protected function _xpath_child($xpath, $sub) { @@ -105,8 +105,8 @@ class CombinedSelectorNode implements NodeInterface /** * Joins an XPath expression as an adjacent of another. * - * @param XPathExpr $xpath The parent XPath expression - * @param NodeInterface $sub The adjacent XPath expression + * @param XPathExpr $xpath The parent XPath expression + * @param NodeInterface $sub The adjacent XPath expression */ protected function _xpath_direct_adjacent($xpath, $sub) { @@ -121,8 +121,8 @@ class CombinedSelectorNode implements NodeInterface /** * Joins an XPath expression as an indirect adjacent of another. * - * @param XPathExpr $xpath The parent XPath expression - * @param NodeInterface $sub The indirect adjacent NodeInterface object + * @param XPathExpr $xpath The parent XPath expression + * @param NodeInterface $sub The indirect adjacent NodeInterface object */ protected function _xpath_indirect_adjacent($xpath, $sub) { diff --git a/src/Symfony/Component/CssSelector/Node/ElementNode.php b/src/Symfony/Component/CssSelector/Node/ElementNode.php index 37e8ce0f61..5cc7d4b5d5 100644 --- a/src/Symfony/Component/CssSelector/Node/ElementNode.php +++ b/src/Symfony/Component/CssSelector/Node/ElementNode.php @@ -30,7 +30,7 @@ class ElementNode implements NodeInterface * Constructor. * * @param string $namespace Namespace - * @param string $element Element + * @param string $element Element */ public function __construct($namespace, $element) { diff --git a/src/Symfony/Component/CssSelector/Node/HashNode.php b/src/Symfony/Component/CssSelector/Node/HashNode.php index 54d51ee045..87a6590aff 100644 --- a/src/Symfony/Component/CssSelector/Node/HashNode.php +++ b/src/Symfony/Component/CssSelector/Node/HashNode.php @@ -30,7 +30,7 @@ class HashNode implements NodeInterface * Constructor. * * @param NodeInterface $selector The NodeInterface object - * @param string $id The ID + * @param string $id The ID */ public function __construct($selector, $id) { diff --git a/src/Symfony/Component/CssSelector/Node/PseudoNode.php b/src/Symfony/Component/CssSelector/Node/PseudoNode.php index 8ee8d9440f..3f93b70ab1 100644 --- a/src/Symfony/Component/CssSelector/Node/PseudoNode.php +++ b/src/Symfony/Component/CssSelector/Node/PseudoNode.php @@ -37,8 +37,8 @@ class PseudoNode implements NodeInterface * Constructor. * * @param NodeInterface $element The NodeInterface element - * @param string $type Node type - * @param string $ident The ident + * @param string $type Node type + * @param string $ident The ident * * @throws ParseException When incorrect PseudoNode type is given */ diff --git a/src/Symfony/Component/CssSelector/Token.php b/src/Symfony/Component/CssSelector/Token.php index 11ff1485a1..6748a44fd8 100644 --- a/src/Symfony/Component/CssSelector/Token.php +++ b/src/Symfony/Component/CssSelector/Token.php @@ -52,7 +52,7 @@ class Token /** * Answers whether this token's type equals to $type. * - * @param string $type The type to test against this token's one. + * @param string $type The type to test against this token's one. * * @return Boolean */ diff --git a/src/Symfony/Component/CssSelector/Tokenizer.php b/src/Symfony/Component/CssSelector/Tokenizer.php index e47a0f8df3..a41aad62c5 100644 --- a/src/Symfony/Component/CssSelector/Tokenizer.php +++ b/src/Symfony/Component/CssSelector/Tokenizer.php @@ -27,7 +27,7 @@ class Tokenizer * Takes a CSS selector and returns an array holding the Tokens * it contains. * - * @param string $s The selector to lex. + * @param string $s The selector to lex. * * @return array Token[] */ @@ -111,8 +111,8 @@ class Tokenizer * * @throws ParseException When expected closing is not found * - * @param string $s The selector string containing the quoted string. - * @param integer $pos The starting position for the quoted string. + * @param string $s The selector string containing the quoted string. + * @param integer $pos The starting position for the quoted string. * * @return array */ @@ -148,7 +148,7 @@ class Tokenizer * * @throws ParseException When invalid escape sequence is found * - * @param string $literal The string literal to unescape. + * @param string $literal The string literal to unescape. * * @return string */ @@ -174,8 +174,8 @@ class Tokenizer * * @throws ParseException When Unexpected symbol is found * - * @param string $s The selector string. - * @param integer $pos The position in $s at which the symbol starts. + * @param string $s The selector string. + * @param integer $pos The position in $s at which the symbol starts. * * @return array */ diff --git a/src/Symfony/Component/CssSelector/XPathExpr.php b/src/Symfony/Component/CssSelector/XPathExpr.php index fdf62b3bc1..2e239ddd20 100644 --- a/src/Symfony/Component/CssSelector/XPathExpr.php +++ b/src/Symfony/Component/CssSelector/XPathExpr.php @@ -139,7 +139,7 @@ class XPathExpr * Adds a prefix to this XPath expression. * It will be prepended to any pre-existent prefixes. * - * @param string $prefix The prefix to add. + * @param string $prefix The prefix to add. */ public function addPrefix($prefix) { @@ -215,7 +215,7 @@ class XPathExpr /** * Gets an XPath literal for $s. * - * @param mixed $s Can either be a Node\ElementNode or a string. + * @param mixed $s Can either be a Node\ElementNode or a string. * * @return string */ diff --git a/src/Symfony/Component/DependencyInjection/Alias.php b/src/Symfony/Component/DependencyInjection/Alias.php index 9a377eda6a..fd75578cdb 100644 --- a/src/Symfony/Component/DependencyInjection/Alias.php +++ b/src/Symfony/Component/DependencyInjection/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 diff --git a/src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php b/src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php index eb2266bf58..e863f75640 100644 --- a/src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php +++ b/src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php @@ -96,7 +96,7 @@ class PassConfig * 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 * diff --git a/src/Symfony/Component/DependencyInjection/Compiler/ReplaceAliasByActualDefinitionPass.php b/src/Symfony/Component/DependencyInjection/Compiler/ReplaceAliasByActualDefinitionPass.php index dc83807eb1..5d00ed6825 100644 --- a/src/Symfony/Component/DependencyInjection/Compiler/ReplaceAliasByActualDefinitionPass.php +++ b/src/Symfony/Component/DependencyInjection/Compiler/ReplaceAliasByActualDefinitionPass.php @@ -63,8 +63,8 @@ class ReplaceAliasByActualDefinitionPass implements CompilerPassInterface * 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 @@ class ReplaceAliasByActualDefinitionPass implements CompilerPassInterface /** * 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) { diff --git a/src/Symfony/Component/DependencyInjection/Compiler/ResolveDefinitionTemplatesPass.php b/src/Symfony/Component/DependencyInjection/Compiler/ResolveDefinitionTemplatesPass.php index 53c6f52ddd..38c9cc5761 100644 --- a/src/Symfony/Component/DependencyInjection/Compiler/ResolveDefinitionTemplatesPass.php +++ b/src/Symfony/Component/DependencyInjection/Compiler/ResolveDefinitionTemplatesPass.php @@ -54,7 +54,7 @@ class ResolveDefinitionTemplatesPass implements CompilerPassInterface /** * Resolves the definition * - * @param string $id The definition identifier + * @param string $id The definition identifier * @param DefinitionDecorator $definition * * @return Definition diff --git a/src/Symfony/Component/DependencyInjection/Compiler/ResolveInvalidReferencesPass.php b/src/Symfony/Component/DependencyInjection/Compiler/ResolveInvalidReferencesPass.php index 6d3c78a814..4ea8acecf9 100644 --- a/src/Symfony/Component/DependencyInjection/Compiler/ResolveInvalidReferencesPass.php +++ b/src/Symfony/Component/DependencyInjection/Compiler/ResolveInvalidReferencesPass.php @@ -69,7 +69,7 @@ class ResolveInvalidReferencesPass implements CompilerPassInterface /** * 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) diff --git a/src/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraphNode.php b/src/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraphNode.php index da8dc70418..3fd50771d5 100644 --- a/src/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraphNode.php +++ b/src/Symfony/Component/DependencyInjection/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) { diff --git a/src/Symfony/Component/DependencyInjection/Container.php b/src/Symfony/Component/DependencyInjection/Container.php index 50cef155e6..763c609c21 100644 --- a/src/Symfony/Component/DependencyInjection/Container.php +++ b/src/Symfony/Component/DependencyInjection/Container.php @@ -133,7 +133,7 @@ class Container implements IntrospectableContainerInterface /** * Gets a parameter. * - * @param string $name The parameter name + * @param string $name The parameter name * * @return mixed The parameter value * @@ -149,7 +149,7 @@ class Container implements IntrospectableContainerInterface /** * 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 @@ class Container implements IntrospectableContainerInterface /** * 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 @@ class Container implements IntrospectableContainerInterface * 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 @@ class Container implements IntrospectableContainerInterface /** * 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 */ diff --git a/src/Symfony/Component/DependencyInjection/ContainerBuilder.php b/src/Symfony/Component/DependencyInjection/ContainerBuilder.php index 1d77ebc001..a706229db4 100644 --- a/src/Symfony/Component/DependencyInjection/ContainerBuilder.php +++ b/src/Symfony/Component/DependencyInjection/ContainerBuilder.php @@ -291,7 +291,7 @@ class ContainerBuilder extends Container implements TaggedContainerInterface /** * 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 @@ class ContainerBuilder extends Container implements TaggedContainerInterface /** * 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 @@ class ContainerBuilder extends Container implements TaggedContainerInterface /** * 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 @@ class ContainerBuilder extends Container implements TaggedContainerInterface /** * 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 @@ class ContainerBuilder extends Container implements TaggedContainerInterface * 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 @@ class ContainerBuilder extends Container implements TaggedContainerInterface /** * 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 @@ class ContainerBuilder extends Container implements TaggedContainerInterface /** * 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 @@ class ContainerBuilder extends Container implements TaggedContainerInterface /** * 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 @@ class ContainerBuilder extends Container implements TaggedContainerInterface * * 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 @@ class ContainerBuilder extends Container implements TaggedContainerInterface /** * 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 @@ class ContainerBuilder extends Container implements TaggedContainerInterface /** * 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 */ diff --git a/src/Symfony/Component/DependencyInjection/ContainerInterface.php b/src/Symfony/Component/DependencyInjection/ContainerInterface.php index 93cbf3a650..6a5988eb11 100644 --- a/src/Symfony/Component/DependencyInjection/ContainerInterface.php +++ b/src/Symfony/Component/DependencyInjection/ContainerInterface.php @@ -43,8 +43,8 @@ interface ContainerInterface /** * 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 @@ interface ContainerInterface /** * 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 @@ interface ContainerInterface /** * Gets a parameter. * - * @param string $name The parameter name + * @param string $name The parameter name * * @return mixed The parameter value * @@ -83,7 +83,7 @@ interface ContainerInterface /** * 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 * diff --git a/src/Symfony/Component/DependencyInjection/Definition.php b/src/Symfony/Component/DependencyInjection/Definition.php index 1c974a6bb0..59b4c06ecd 100644 --- a/src/Symfony/Component/DependencyInjection/Definition.php +++ b/src/Symfony/Component/DependencyInjection/Definition.php @@ -64,7 +64,7 @@ class Definition * 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 @@ class Definition /** * 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 @@ class Definition /** * 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 @@ class Definition /** * 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 @@ class Definition /** * 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 @@ class Definition /** * 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 @@ class Definition /** * 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 @@ class Definition /** * 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 @@ class Definition /** * 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 @@ class Definition /** * 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 @@ class Definition /** * 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 @@ class Definition /** * 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 @@ class Definition /** * 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 @@ class Definition /** * 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 * diff --git a/src/Symfony/Component/DependencyInjection/Dumper/DumperInterface.php b/src/Symfony/Component/DependencyInjection/Dumper/DumperInterface.php index c05dc6d49d..6972cbf8fc 100644 --- a/src/Symfony/Component/DependencyInjection/Dumper/DumperInterface.php +++ b/src/Symfony/Component/DependencyInjection/Dumper/DumperInterface.php @@ -23,7 +23,7 @@ interface DumperInterface /** * 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 * diff --git a/src/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php b/src/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php index 133c6217ff..e59e20460c 100644 --- a/src/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php +++ b/src/Symfony/Component/DependencyInjection/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 @@ class GraphvizDumper extends Dumper /** * 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 * diff --git a/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php b/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php index 871e6945fd..db858a7a26 100644 --- a/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php +++ b/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php @@ -70,7 +70,7 @@ class PhpDumper extends Dumper * * 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 @@ EOF; /** * 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 diff --git a/src/Symfony/Component/DependencyInjection/Dumper/XmlDumper.php b/src/Symfony/Component/DependencyInjection/Dumper/XmlDumper.php index 6a91b99fd8..7797b4e4c7 100644 --- a/src/Symfony/Component/DependencyInjection/Dumper/XmlDumper.php +++ b/src/Symfony/Component/DependencyInjection/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 * diff --git a/src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php b/src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php index 6186202c64..f541ac886f 100644 --- a/src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php +++ b/src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php @@ -46,7 +46,7 @@ class YamlDumper extends Dumper /** * 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 * diff --git a/src/Symfony/Component/DependencyInjection/Extension/ConfigurationExtensionInterface.php b/src/Symfony/Component/DependencyInjection/Extension/ConfigurationExtensionInterface.php index b633f9006c..4f33a9bc4c 100644 --- a/src/Symfony/Component/DependencyInjection/Extension/ConfigurationExtensionInterface.php +++ b/src/Symfony/Component/DependencyInjection/Extension/ConfigurationExtensionInterface.php @@ -23,7 +23,7 @@ interface ConfigurationExtensionInterface /** * 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 diff --git a/src/Symfony/Component/DependencyInjection/Loader/ClosureLoader.php b/src/Symfony/Component/DependencyInjection/Loader/ClosureLoader.php index fa2456572a..775a3525d8 100644 --- a/src/Symfony/Component/DependencyInjection/Loader/ClosureLoader.php +++ b/src/Symfony/Component/DependencyInjection/Loader/ClosureLoader.php @@ -49,8 +49,8 @@ class ClosureLoader extends Loader /** * 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 */ diff --git a/src/Symfony/Component/DependencyInjection/Loader/IniFileLoader.php b/src/Symfony/Component/DependencyInjection/Loader/IniFileLoader.php index 4eabd6d51e..e4b99f60d9 100644 --- a/src/Symfony/Component/DependencyInjection/Loader/IniFileLoader.php +++ b/src/Symfony/Component/DependencyInjection/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 */ diff --git a/src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBag.php b/src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBag.php index 3a56b85229..a83f1fcaf4 100644 --- a/src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBag.php +++ b/src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBag.php @@ -115,7 +115,7 @@ class ParameterBag implements ParameterBagInterface /** * 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 @@ class ParameterBag implements ParameterBagInterface /** * 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 diff --git a/src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBagInterface.php b/src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBagInterface.php index b530d5dc66..da83cbe92c 100644 --- a/src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBagInterface.php +++ b/src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBagInterface.php @@ -73,7 +73,7 @@ interface ParameterBagInterface /** * 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 @@ interface ParameterBagInterface /** * 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 */ diff --git a/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php b/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php index 53a0f6784c..e891edd999 100644 --- a/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php +++ b/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php @@ -54,10 +54,10 @@ class ContainerAwareEventDispatcher extends EventDispatcher /** * Adds a service as event listener * - * @param string $eventName Event for which the listener is added - * @param array $callback The service ID of the listener service & the method + * @param string $eventName Event for which the listener is added + * @param array $callback The service ID of the listener service & the method * name that has to be called - * @param integer $priority The higher this value, the earlier an event listener + * @param integer $priority The higher this value, the earlier an event listener * will be triggered in the chain. * Defaults to 0. */ diff --git a/src/Symfony/Component/EventDispatcher/EventDispatcher.php b/src/Symfony/Component/EventDispatcher/EventDispatcher.php index b2fb51ada8..356f9199ce 100644 --- a/src/Symfony/Component/EventDispatcher/EventDispatcher.php +++ b/src/Symfony/Component/EventDispatcher/EventDispatcher.php @@ -155,8 +155,8 @@ class EventDispatcher implements EventDispatcherInterface * for each listener. * * @param array[callback] $listeners The event listeners. - * @param string $eventName The name of the event to dispatch. - * @param Event $event The event object to pass to the event handlers/listeners. + * @param string $eventName The name of the event to dispatch. + * @param Event $event The event object to pass to the event handlers/listeners. */ protected function doDispatch($listeners, $eventName, Event $event) { diff --git a/src/Symfony/Component/EventDispatcher/EventDispatcherInterface.php b/src/Symfony/Component/EventDispatcher/EventDispatcherInterface.php index d47ee66aa2..e53d71d0e5 100644 --- a/src/Symfony/Component/EventDispatcher/EventDispatcherInterface.php +++ b/src/Symfony/Component/EventDispatcher/EventDispatcherInterface.php @@ -28,7 +28,7 @@ interface EventDispatcherInterface * @param string $eventName The name of the event to dispatch. The name of * the event is the name of the method that is * invoked on listeners. - * @param Event $event The event to pass to the event handlers/listeners. + * @param Event $event The event to pass to the event handlers/listeners. * If not supplied, an empty Event instance is created. * * @return Event diff --git a/src/Symfony/Component/EventDispatcher/GenericEvent.php b/src/Symfony/Component/EventDispatcher/GenericEvent.php index 0e792d0e6f..0ad76eedd5 100644 --- a/src/Symfony/Component/EventDispatcher/GenericEvent.php +++ b/src/Symfony/Component/EventDispatcher/GenericEvent.php @@ -37,8 +37,8 @@ class GenericEvent extends Event implements \ArrayAccess /** * Encapsulate an event with $subject, $args, and $data. * - * @param mixed $subject The subject of the event, usually an object. - * @param array $arguments Arguments to store in the event. + * @param mixed $subject The subject of the event, usually an object. + * @param array $arguments Arguments to store in the event. */ public function __construct($subject = null, array $arguments = array()) { diff --git a/src/Symfony/Component/Filesystem/Filesystem.php b/src/Symfony/Component/Filesystem/Filesystem.php index 542caeccd5..85b7bbb038 100644 --- a/src/Symfony/Component/Filesystem/Filesystem.php +++ b/src/Symfony/Component/Filesystem/Filesystem.php @@ -47,8 +47,8 @@ class Filesystem /** * Creates a directory recursively. * - * @param string|array|\Traversable $dirs The directory path - * @param int $mode The directory mode + * @param string|array|\Traversable $dirs The directory path + * @param int $mode The directory mode * * @return Boolean true if the directory has been created, false otherwise */ @@ -119,8 +119,8 @@ class Filesystem /** * Renames a file. * - * @param string $origin The origin filename - * @param string $target The new filename + * @param string $origin The origin filename + * @param string $target The new filename * * @throws \RuntimeException When target file already exists * @throws \RuntimeException When origin cannot be renamed @@ -204,10 +204,10 @@ class Filesystem /** * Mirrors a directory to another. * - * @param string $originDir The origin directory - * @param string $targetDir The target directory - * @param \Traversable $iterator A Traversable instance - * @param array $options An array of boolean options + * @param string $originDir The origin directory + * @param string $targetDir The target directory + * @param \Traversable $iterator A Traversable instance + * @param array $options An array of boolean options * Valid options are: * - $options['override'] Whether to override an existing file on copy or not (see copy()) * - $options['copy_on_windows'] Whether to copy files instead of links on Windows (see symlink()) diff --git a/src/Symfony/Component/Finder/Finder.php b/src/Symfony/Component/Finder/Finder.php index 1d68de91b0..c923dae429 100644 --- a/src/Symfony/Component/Finder/Finder.php +++ b/src/Symfony/Component/Finder/Finder.php @@ -105,7 +105,7 @@ class Finder implements \IteratorAggregate, \Countable * $finder->depth('> 1') // the Finder will start matching at level 1. * $finder->depth('< 3') // the Finder will descend at most 3 levels of directories below the starting point. * - * @param int $level The depth level expression + * @param int $level The depth level expression * * @return Finder The current Finder instance * @@ -131,7 +131,7 @@ class Finder implements \IteratorAggregate, \Countable * $finder->date('> now - 2 hours'); * $finder->date('>= 2005-10-15'); * - * @param string $date A date rage string + * @param string $date A date rage string * * @return Finder The current Finder instance * @@ -157,7 +157,7 @@ class Finder implements \IteratorAggregate, \Countable * $finder->name('/\.php$/') // same as above * $finder->name('test.php') * - * @param string $pattern A pattern (a regexp, a glob, or a string) + * @param string $pattern A pattern (a regexp, a glob, or a string) * * @return Finder The current Finder instance * @@ -175,7 +175,7 @@ class Finder implements \IteratorAggregate, \Countable /** * Adds rules that files must not match. * - * @param string $pattern A pattern (a regexp, a glob, or a string) + * @param string $pattern A pattern (a regexp, a glob, or a string) * * @return Finder The current Finder instance * @@ -198,7 +198,7 @@ class Finder implements \IteratorAggregate, \Countable * $finder->contains('Lorem ipsum') * $finder->contains('/Lorem ipsum/i') * - * @param string $pattern A pattern (string or regexp) + * @param string $pattern A pattern (string or regexp) * * @return Finder The current Finder instance * @@ -220,7 +220,7 @@ class Finder implements \IteratorAggregate, \Countable * $finder->notContains('/Lorem ipsum/i') * - * @param string $pattern A pattern (string or regexp) + * @param string $pattern A pattern (string or regexp) * * @return Finder The current Finder instance * @@ -259,7 +259,7 @@ class Finder implements \IteratorAggregate, \Countable /** * Excludes directories. * - * @param string|array $dirs A directory path or an array of directories + * @param string|array $dirs A directory path or an array of directories * * @return Finder The current Finder instance * @@ -330,7 +330,7 @@ class Finder implements \IteratorAggregate, \Countable * * This can be slow as all the matching files and directories must be retrieved for comparison. * - * @param Closure $closure An anonymous function + * @param Closure $closure An anonymous function * * @return Finder The current Finder instance * @@ -449,7 +449,7 @@ class Finder implements \IteratorAggregate, \Countable * The anonymous function receives a \SplFileInfo and must return false * to remove files. * - * @param Closure $closure An anonymous function + * @param Closure $closure An anonymous function * * @return Finder The current Finder instance * @@ -481,7 +481,7 @@ class Finder implements \IteratorAggregate, \Countable /** * Searches files and directories which match defined rules. * - * @param string|array $dirs A directory path or an array of directories + * @param string|array $dirs A directory path or an array of directories * * @return Finder The current Finder instance * diff --git a/src/Symfony/Component/Finder/Glob.php b/src/Symfony/Component/Finder/Glob.php index 5e31b75dbd..499e6e3e91 100644 --- a/src/Symfony/Component/Finder/Glob.php +++ b/src/Symfony/Component/Finder/Glob.php @@ -38,7 +38,7 @@ class Glob /** * Returns a regexp which is the equivalent of the glob pattern. * - * @param string $glob The glob pattern + * @param string $glob The glob pattern * @param Boolean $strictLeadingDot * @param Boolean $strictWildcardSlash * diff --git a/src/Symfony/Component/Form/AbstractType.php b/src/Symfony/Component/Form/AbstractType.php index 0f21b81663..7552dd12f7 100644 --- a/src/Symfony/Component/Form/AbstractType.php +++ b/src/Symfony/Component/Form/AbstractType.php @@ -30,8 +30,8 @@ abstract class AbstractType implements FormTypeInterface * * @see FormTypeExtensionInterface::buildForm() * - * @param FormBuilder $builder The form builder - * @param array $options The options + * @param FormBuilder $builder The form builder + * @param array $options The options */ public function buildForm(FormBuilder $builder, array $options) { @@ -78,9 +78,9 @@ abstract class AbstractType implements FormTypeInterface * The builder is retrieved by going up in the type hierarchy when a type does * not provide one. * - * @param string $name The name of the builder - * @param FormFactoryInterface $factory The form factory - * @param array $options The options + * @param string $name The name of the builder + * @param FormFactoryInterface $factory The form factory + * @param array $options The options * * @return FormBuilder|null A form builder or null when the type does not have a builder */ diff --git a/src/Symfony/Component/Form/AbstractTypeExtension.php b/src/Symfony/Component/Form/AbstractTypeExtension.php index 51eb3075b1..21d441c729 100644 --- a/src/Symfony/Component/Form/AbstractTypeExtension.php +++ b/src/Symfony/Component/Form/AbstractTypeExtension.php @@ -21,8 +21,8 @@ abstract class AbstractTypeExtension implements FormTypeExtensionInterface * * @see FormTypeInterface::buildForm() * - * @param FormBuilder $builder The form builder - * @param array $options The options + * @param FormBuilder $builder The form builder + * @param array $options The options */ public function buildForm(FormBuilder $builder, array $options) { diff --git a/src/Symfony/Component/Form/CallbackTransformer.php b/src/Symfony/Component/Form/CallbackTransformer.php index 209fa87192..b5b7d2dd57 100644 --- a/src/Symfony/Component/Form/CallbackTransformer.php +++ b/src/Symfony/Component/Form/CallbackTransformer.php @@ -28,8 +28,8 @@ class CallbackTransformer implements DataTransformerInterface /** * Constructor. * - * @param \Closure $transform The forward transform callback - * @param \Closure $reverseTransform The reverse transform callback + * @param \Closure $transform The forward transform callback + * @param \Closure $reverseTransform The reverse transform callback */ public function __construct(\Closure $transform, \Closure $reverseTransform) { @@ -40,7 +40,7 @@ class CallbackTransformer implements DataTransformerInterface /** * Transforms a value from the original representation to a transformed representation. * - * @param mixed $data The value in the original representation + * @param mixed $data The value in the original representation * * @return mixed The value in the transformed representation * @@ -56,7 +56,7 @@ class CallbackTransformer implements DataTransformerInterface * Transforms a value from the transformed representation to its original * representation. * - * @param mixed $data The value in the transformed representation + * @param mixed $data The value in the transformed representation * * @return mixed The value in the original representation * diff --git a/src/Symfony/Component/Form/DataTransformerInterface.php b/src/Symfony/Component/Form/DataTransformerInterface.php index 2f1543e91b..33d9d47ccf 100644 --- a/src/Symfony/Component/Form/DataTransformerInterface.php +++ b/src/Symfony/Component/Form/DataTransformerInterface.php @@ -39,7 +39,7 @@ interface DataTransformerInterface * By convention, transform() should return an empty string if NULL is * passed. * - * @param mixed $value The value in the original representation + * @param mixed $value The value in the original representation * * @return mixed The value in the transformed representation * @@ -66,7 +66,7 @@ interface DataTransformerInterface * By convention, reverseTransform() should return NULL if an empty string * is passed. * - * @param mixed $value The value in the transformed representation + * @param mixed $value The value in the transformed representation * * @return mixed The value in the original representation * diff --git a/src/Symfony/Component/Form/Extension/Core/ChoiceList/ChoiceList.php b/src/Symfony/Component/Form/Extension/Core/ChoiceList/ChoiceList.php index cf226ff1e8..6634f682ad 100644 --- a/src/Symfony/Component/Form/Extension/Core/ChoiceList/ChoiceList.php +++ b/src/Symfony/Component/Form/Extension/Core/ChoiceList/ChoiceList.php @@ -65,14 +65,14 @@ class ChoiceList implements ChoiceListInterface /** * Creates a new choice list. * - * @param array|\Traversable $choices The array of choices. Choices may also be given + * @param array|\Traversable $choices The array of choices. Choices may also be given * as hierarchy of unlimited depth. Hierarchies are * created by creating nested arrays. The title of * the sub-hierarchy can be stored in the array * key pointing to the nested array. - * @param array $labels The array of labels. The structure of this array + * @param array $labels The array of labels. The structure of this array * should match the structure of $choices. - * @param array $preferredChoices A flat array of choices that should be + * @param array $preferredChoices A flat array of choices that should be * presented to the user with priority. */ public function __construct($choices, array $labels, array $preferredChoices = array()) @@ -85,9 +85,9 @@ class ChoiceList implements ChoiceListInterface * * Safe to be called multiple times. The list is cleared on every call. * - * @param array|\Traversable $choices The choices to write into the list. - * @param array $labels The labels belonging to the choices. - * @param array $preferredChoices The choices to display with priority. + * @param array|\Traversable $choices The choices to write into the list. + * @param array $labels The labels belonging to the choices. + * @param array $preferredChoices The choices to display with priority. */ protected function initialize($choices, array $labels, array $preferredChoices) { @@ -240,8 +240,8 @@ class ChoiceList implements ChoiceListInterface * view objects. * @param array $bucketForRemaining The bucket where to store the * non-preferred view objects. - * @param array $choices The list of choices. - * @param array $labels The labels corresponding to the choices. + * @param array $choices The list of choices. + * @param array $labels The labels corresponding to the choices. * @param array $preferredChoices The preferred choices. * * @throws UnexpectedTypeException If the structure of the $labels array @@ -287,13 +287,13 @@ class ChoiceList implements ChoiceListInterface /** * Recursively adds a choice group. * - * @param string $group The name of the group. - * @param array $bucketForPreferred The bucket where to store the preferred + * @param string $group The name of the group. + * @param array $bucketForPreferred The bucket where to store the preferred * view objects. * @param array $bucketForRemaining The bucket where to store the * non-preferred view objects. - * @param array $choices The list of choices in the group. - * @param array $labels The labels corresponding to the choices in the group. + * @param array $choices The list of choices in the group. + * @param array $labels The labels corresponding to the choices in the group. * @param array $preferredChoices The preferred choices. */ protected function addChoiceGroup($group, &$bucketForPreferred, &$bucketForRemaining, $choices, $labels, array $preferredChoices) @@ -327,9 +327,9 @@ class ChoiceList implements ChoiceListInterface * view objects. * @param array $bucketForRemaining The bucket where to store the * non-preferred view objects. - * @param mixed $choice The choice to add. - * @param string $label The label for the choice. - * @param array $preferredChoices The preferred choices. + * @param mixed $choice The choice to add. + * @param string $label The label for the choice. + * @param array $preferredChoices The preferred choices. */ protected function addChoice(&$bucketForPreferred, &$bucketForRemaining, $choice, $label, array $preferredChoices) { @@ -364,7 +364,7 @@ class ChoiceList implements ChoiceListInterface * Extension point to optimize performance by changing the structure of the * $preferredChoices array. * - * @param mixed $choice The choice to test. + * @param mixed $choice The choice to test. * @param array $preferredChoices An array of preferred choices. */ protected function isPreferred($choice, $preferredChoices) diff --git a/src/Symfony/Component/Form/Extension/Core/ChoiceList/ObjectChoiceList.php b/src/Symfony/Component/Form/Extension/Core/ChoiceList/ObjectChoiceList.php index 25038cbf82..2e08081eb4 100644 --- a/src/Symfony/Component/Form/Extension/Core/ChoiceList/ObjectChoiceList.php +++ b/src/Symfony/Component/Form/Extension/Core/ChoiceList/ObjectChoiceList.php @@ -90,9 +90,9 @@ class ObjectChoiceList extends ChoiceList * * Safe to be called multiple times. The list is cleared on every call. * - * @param array|\Traversable $choices The choices to write into the list. - * @param array $labels Ignored. - * @param array $preferredChoices The choices to display with priority. + * @param array|\Traversable $choices The choices to write into the list. + * @param array $labels Ignored. + * @param array $preferredChoices The choices to display with priority. */ protected function initialize($choices, array $labels, array $preferredChoices) { diff --git a/src/Symfony/Component/Form/Extension/Core/ChoiceList/SimpleChoiceList.php b/src/Symfony/Component/Form/Extension/Core/ChoiceList/SimpleChoiceList.php index 0ebdcc737b..38d714dcf6 100644 --- a/src/Symfony/Component/Form/Extension/Core/ChoiceList/SimpleChoiceList.php +++ b/src/Symfony/Component/Form/Extension/Core/ChoiceList/SimpleChoiceList.php @@ -35,13 +35,13 @@ class SimpleChoiceList extends ChoiceList /** * Creates a new simple choice list. * - * @param array $choices The array of choices with the choices as keys and + * @param array $choices The array of choices with the choices as keys and * the labels as values. Choices may also be given * as hierarchy of unlimited depth. Hierarchies are * created by creating nested arrays. The title of * the sub-hierarchy is stored in the array * key pointing to the nested array. - * @param array $preferredChoices A flat array of choices that should be + * @param array $preferredChoices A flat array of choices that should be * presented to the user with priority. */ public function __construct(array $choices, array $preferredChoices = array()) @@ -125,7 +125,7 @@ class SimpleChoiceList extends ChoiceList * Optimized for performance by treating the preferred choices as array * where choices are stored in the keys. * - * @param mixed $choice The choice to test. + * @param mixed $choice The choice to test. * @param array $preferredChoices An array of preferred choices. */ protected function isPreferred($choice, $preferredChoices) diff --git a/src/Symfony/Component/Form/Extension/Core/DataTransformer/BooleanToStringTransformer.php b/src/Symfony/Component/Form/Extension/Core/DataTransformer/BooleanToStringTransformer.php index 3f15fae91d..9a57cf664e 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataTransformer/BooleanToStringTransformer.php +++ b/src/Symfony/Component/Form/Extension/Core/DataTransformer/BooleanToStringTransformer.php @@ -41,7 +41,7 @@ class BooleanToStringTransformer implements DataTransformerInterface /** * Transforms a Boolean into a string. * - * @param Boolean $value Boolean value. + * @param Boolean $value Boolean value. * * @return string String value. * @@ -63,7 +63,7 @@ class BooleanToStringTransformer implements DataTransformerInterface /** * Transforms a string into a Boolean. * - * @param string $value String value. + * @param string $value String value. * * @return Boolean Boolean value. * diff --git a/src/Symfony/Component/Form/Extension/Core/DataTransformer/ChoiceToBooleanArrayTransformer.php b/src/Symfony/Component/Form/Extension/Core/DataTransformer/ChoiceToBooleanArrayTransformer.php index a13fbf7334..c7f9549d3b 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataTransformer/ChoiceToBooleanArrayTransformer.php +++ b/src/Symfony/Component/Form/Extension/Core/DataTransformer/ChoiceToBooleanArrayTransformer.php @@ -41,7 +41,7 @@ class ChoiceToBooleanArrayTransformer implements DataTransformerInterface * depending on whether a given option is selected. If this field is rendered * as select tag, the value is not modified. * - * @param mixed $choice An array if "multiple" is set to true, a scalar + * @param mixed $choice An array if "multiple" is set to true, a scalar * value otherwise. * * @return mixed An array @@ -73,7 +73,7 @@ class ChoiceToBooleanArrayTransformer implements DataTransformerInterface * values, depending on whether a given choice is selected. The output * is the selected choice. * - * @param array $values An array of values + * @param array $values An array of values * * @return mixed A scalar value * diff --git a/src/Symfony/Component/Form/Extension/Core/DataTransformer/ChoicesToBooleanArrayTransformer.php b/src/Symfony/Component/Form/Extension/Core/DataTransformer/ChoicesToBooleanArrayTransformer.php index f38102f298..38253ff43c 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataTransformer/ChoicesToBooleanArrayTransformer.php +++ b/src/Symfony/Component/Form/Extension/Core/DataTransformer/ChoicesToBooleanArrayTransformer.php @@ -36,7 +36,7 @@ class ChoicesToBooleanArrayTransformer implements DataTransformerInterface * depending on whether a given option is selected. If this field is rendered * as select tag, the value is not modified. * - * @param mixed $array An array + * @param mixed $array An array * * @return mixed An array * @@ -75,7 +75,7 @@ class ChoicesToBooleanArrayTransformer implements DataTransformerInterface * values, depending on whether a given choice is selected. The output * is an array with the selected choices. * - * @param mixed $values An array + * @param mixed $values An array * * @return mixed An array * diff --git a/src/Symfony/Component/Form/Extension/Core/DataTransformer/DataTransformerChain.php b/src/Symfony/Component/Form/Extension/Core/DataTransformer/DataTransformerChain.php index 85f5aa995d..d4b735554e 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataTransformer/DataTransformerChain.php +++ b/src/Symfony/Component/Form/Extension/Core/DataTransformer/DataTransformerChain.php @@ -44,7 +44,7 @@ class DataTransformerChain implements DataTransformerInterface * transformer as input. The output of the last transformer is returned * by this method. * - * @param mixed $value The original value + * @param mixed $value The original value * * @return mixed The transformed value * @@ -69,7 +69,7 @@ class DataTransformerChain implements DataTransformerInterface * transformer as input. The output of the last transformer is returned * by this method. * - * @param mixed $value The transformed value + * @param mixed $value The transformed value * * @return mixed The reverse-transformed value * diff --git a/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToArrayTransformer.php b/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToArrayTransformer.php index fb0a3bf2dd..68bf04802a 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToArrayTransformer.php +++ b/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToArrayTransformer.php @@ -29,10 +29,10 @@ class DateTimeToArrayTransformer extends BaseDateTimeTransformer /** * Constructor. * - * @param string $inputTimezone The input timezone - * @param string $outputTimezone The output timezone - * @param array $fields The date fields - * @param Boolean $pad Whether to use padding + * @param string $inputTimezone The input timezone + * @param string $outputTimezone The output timezone + * @param array $fields The date fields + * @param Boolean $pad Whether to use padding * * @throws UnexpectedTypeException if a timezone is not a string */ @@ -51,7 +51,7 @@ class DateTimeToArrayTransformer extends BaseDateTimeTransformer /** * Transforms a normalized date into a localized date. * - * @param DateTime $dateTime Normalized date. + * @param DateTime $dateTime Normalized date. * * @return array Localized date. * @@ -106,7 +106,7 @@ class DateTimeToArrayTransformer extends BaseDateTimeTransformer /** * Transforms a localized date into a normalized date. * - * @param array $value Localized date + * @param array $value Localized date * * @return DateTime Normalized date * diff --git a/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformer.php b/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformer.php index 70d1b72ebf..4e1a33c65f 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformer.php +++ b/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformer.php @@ -32,12 +32,12 @@ class DateTimeToLocalizedStringTransformer extends BaseDateTimeTransformer * * @see BaseDateTimeTransformer::formats for available format options * - * @param string $inputTimezone The name of the input timezone - * @param string $outputTimezone The name of the output timezone - * @param integer $dateFormat The date format - * @param integer $timeFormat The time format - * @param \IntlDateFormatter $calendar An \IntlDateFormatter instance - * @param string $pattern A pattern to pass to \IntlDateFormatter + * @param string $inputTimezone The name of the input timezone + * @param string $outputTimezone The name of the output timezone + * @param integer $dateFormat The date format + * @param integer $timeFormat The time format + * @param \IntlDateFormatter $calendar An \IntlDateFormatter instance + * @param string $pattern A pattern to pass to \IntlDateFormatter * * @throws UnexpectedTypeException If a format is not supported * @throws UnexpectedTypeException if a timezone is not a string @@ -71,7 +71,7 @@ class DateTimeToLocalizedStringTransformer extends BaseDateTimeTransformer /** * Transforms a normalized date into a localized date string/array. * - * @param DateTime $dateTime Normalized date. + * @param DateTime $dateTime Normalized date. * * @return string|array Localized date string/array. * @@ -106,7 +106,7 @@ class DateTimeToLocalizedStringTransformer extends BaseDateTimeTransformer /** * Transforms a localized date string/array into a normalized date. * - * @param string|array $value Localized date string/array + * @param string|array $value Localized date string/array * * @return DateTime Normalized date * diff --git a/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToStringTransformer.php b/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToStringTransformer.php index 9df94ac526..4b44a081ec 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToStringTransformer.php +++ b/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToStringTransformer.php @@ -46,7 +46,7 @@ class DateTimeToStringTransformer extends BaseDateTimeTransformer * Transforms a DateTime object into a date string with the configured format * and timezone * - * @param DateTime $value A DateTime object + * @param DateTime $value A DateTime object * * @return string A value as produced by PHP's date() function * @@ -76,7 +76,7 @@ class DateTimeToStringTransformer extends BaseDateTimeTransformer /** * Transforms a date string in the configured timezone into a DateTime object. * - * @param string $value A value as produced by PHP's date() function + * @param string $value A value as produced by PHP's date() function * * @return \DateTime An instance of \DateTime * diff --git a/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToTimestampTransformer.php b/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToTimestampTransformer.php index 377cf74f2f..d4967bbc65 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToTimestampTransformer.php +++ b/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToTimestampTransformer.php @@ -25,7 +25,7 @@ class DateTimeToTimestampTransformer extends BaseDateTimeTransformer /** * Transforms a DateTime object into a timestamp in the configured timezone. * - * @param DateTime $value A DateTime object + * @param DateTime $value A DateTime object * * @return integer A timestamp * @@ -55,7 +55,7 @@ class DateTimeToTimestampTransformer extends BaseDateTimeTransformer /** * Transforms a timestamp in the configured timezone into a DateTime object * - * @param string $value A timestamp + * @param string $value A timestamp * * @return \DateTime An instance of \DateTime * diff --git a/src/Symfony/Component/Form/Extension/Core/DataTransformer/MoneyToLocalizedStringTransformer.php b/src/Symfony/Component/Form/Extension/Core/DataTransformer/MoneyToLocalizedStringTransformer.php index 566c6876c2..df63ed0f6a 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataTransformer/MoneyToLocalizedStringTransformer.php +++ b/src/Symfony/Component/Form/Extension/Core/DataTransformer/MoneyToLocalizedStringTransformer.php @@ -46,7 +46,7 @@ class MoneyToLocalizedStringTransformer extends NumberToLocalizedStringTransform /** * Transforms a normalized format into a localized money string. * - * @param number $value Normalized number + * @param number $value Normalized number * * @return string Localized money string. * diff --git a/src/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php b/src/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php index f65606c95a..8b895f3bdd 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php +++ b/src/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php @@ -56,7 +56,7 @@ class NumberToLocalizedStringTransformer implements DataTransformerInterface /** * Transforms a number type into localized number. * - * @param integer|float $value Number value. + * @param integer|float $value Number value. * * @return string Localized value. * diff --git a/src/Symfony/Component/Form/Extension/Core/DataTransformer/PercentToLocalizedStringTransformer.php b/src/Symfony/Component/Form/Extension/Core/DataTransformer/PercentToLocalizedStringTransformer.php index 97537f31a7..f05d598f3b 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataTransformer/PercentToLocalizedStringTransformer.php +++ b/src/Symfony/Component/Form/Extension/Core/DataTransformer/PercentToLocalizedStringTransformer.php @@ -64,7 +64,7 @@ class PercentToLocalizedStringTransformer implements DataTransformerInterface /** * Transforms between a normalized format (integer or float) into a percentage value. * - * @param number $value Normalized value + * @param number $value Normalized value * * @return number Percentage value * @@ -99,7 +99,7 @@ class PercentToLocalizedStringTransformer implements DataTransformerInterface /** * Transforms between a percentage value into a normalized format (integer or float). * - * @param number $value Percentage value. + * @param number $value Percentage value. * * @return number Normalized value. * diff --git a/src/Symfony/Component/Form/Extension/Core/DataTransformer/ValueToStringTransformer.php b/src/Symfony/Component/Form/Extension/Core/DataTransformer/ValueToStringTransformer.php index c9538f4032..7e568958d8 100644 --- a/src/Symfony/Component/Form/Extension/Core/DataTransformer/ValueToStringTransformer.php +++ b/src/Symfony/Component/Form/Extension/Core/DataTransformer/ValueToStringTransformer.php @@ -24,7 +24,7 @@ class ValueToStringTransformer implements DataTransformerInterface /** * Transforms a value into a string. * - * @param mixed $value Mixed value. + * @param mixed $value Mixed value. * * @return string String value. * @@ -46,7 +46,7 @@ class ValueToStringTransformer implements DataTransformerInterface /** * Transforms a value into a string. * - * @param string $value String value. + * @param string $value String value. * * @return string String value. * diff --git a/src/Symfony/Component/Form/Extension/Core/EventListener/MergeCollectionListener.php b/src/Symfony/Component/Form/Extension/Core/EventListener/MergeCollectionListener.php index 837a1df6ba..ff4ed80d34 100644 --- a/src/Symfony/Component/Form/Extension/Core/EventListener/MergeCollectionListener.php +++ b/src/Symfony/Component/Form/Extension/Core/EventListener/MergeCollectionListener.php @@ -36,9 +36,9 @@ class MergeCollectionListener implements EventSubscriberInterface /** * Creates a new listener. * - * @param Boolean $allowAdd Whether values might be added to the + * @param Boolean $allowAdd Whether values might be added to the * collection. - * @param Boolean $allowDelete Whether values might be removed from the + * @param Boolean $allowDelete Whether values might be removed from the * collection. */ public function __construct($allowAdd = false, $allowDelete = false) diff --git a/src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php b/src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php index f5991a9bbc..7658e52c4c 100644 --- a/src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php +++ b/src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php @@ -201,9 +201,9 @@ class ChoiceType extends AbstractType /** * Adds the sub fields for an expanded choice field. * - * @param FormBuilder $builder The form builder. - * @param array $choiceViews The choice view objects. - * @param array $options The build options. + * @param FormBuilder $builder The form builder. + * @param array $choiceViews The choice view objects. + * @param array $options The build options. */ private function addSubForms(FormBuilder $builder, array $choiceViews, array $options) { diff --git a/src/Symfony/Component/Form/Extension/Core/Type/TimezoneType.php b/src/Symfony/Component/Form/Extension/Core/Type/TimezoneType.php index 61e7afdaf8..3e6b2baaac 100644 --- a/src/Symfony/Component/Form/Extension/Core/Type/TimezoneType.php +++ b/src/Symfony/Component/Form/Extension/Core/Type/TimezoneType.php @@ -13,7 +13,6 @@ namespace Symfony\Component\Form\Extension\Core\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceList; -use Symfony\Component\OptionsResolver\Options; class TimezoneType extends AbstractType { diff --git a/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfProviderInterface.php b/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfProviderInterface.php index 5ba99caa7a..f981a22fca 100644 --- a/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfProviderInterface.php +++ b/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfProviderInterface.php @@ -41,7 +41,7 @@ interface CsrfProviderInterface * Validates a CSRF token. * * @param string $intention The intention used when generating the CSRF token - * @param string $token The token supplied by the browser + * @param string $token The token supplied by the browser * * @return Boolean Whether the token supplied by the browser is correct */ diff --git a/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/DefaultCsrfProvider.php b/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/DefaultCsrfProvider.php index 62634001ae..1285653488 100644 --- a/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/DefaultCsrfProvider.php +++ b/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/DefaultCsrfProvider.php @@ -33,7 +33,7 @@ class DefaultCsrfProvider implements CsrfProviderInterface * A recommended value for the secret is a generated value with at least * 32 characters and mixed letters, digits and special characters. * - * @param string $secret A secret value included in the CSRF token + * @param string $secret A secret value included in the CSRF token */ public function __construct($secret) { diff --git a/src/Symfony/Component/Form/Extension/Csrf/Type/FormTypeCsrfExtension.php b/src/Symfony/Component/Form/Extension/Csrf/Type/FormTypeCsrfExtension.php index c26324b41e..71486c485a 100644 --- a/src/Symfony/Component/Form/Extension/Csrf/Type/FormTypeCsrfExtension.php +++ b/src/Symfony/Component/Form/Extension/Csrf/Type/FormTypeCsrfExtension.php @@ -37,8 +37,8 @@ class FormTypeCsrfExtension extends AbstractTypeExtension /** * Adds a CSRF field to the form when the CSRF protection is enabled. * - * @param FormBuilder $builder The form builder - * @param array $options The options + * @param FormBuilder $builder The form builder + * @param array $options The options */ public function buildForm(FormBuilder $builder, array $options) { diff --git a/src/Symfony/Component/Form/Extension/Validator/ValidatorTypeGuesser.php b/src/Symfony/Component/Form/Extension/Validator/ValidatorTypeGuesser.php index 27c59fa063..47783fc851 100755 --- a/src/Symfony/Component/Form/Extension/Validator/ValidatorTypeGuesser.php +++ b/src/Symfony/Component/Form/Extension/Validator/ValidatorTypeGuesser.php @@ -87,7 +87,7 @@ class ValidatorTypeGuesser implements FormTypeGuesserInterface /** * Guesses a field class name for a given constraint * - * @param Constraint $constraint The constraint to guess for + * @param Constraint $constraint The constraint to guess for * * @return TypeGuess The guessed field class and options */ @@ -168,7 +168,7 @@ class ValidatorTypeGuesser implements FormTypeGuesserInterface /** * Guesses whether a field is required based on the given constraint * - * @param Constraint $constraint The constraint to guess for + * @param Constraint $constraint The constraint to guess for * * @return Guess The guess whether the field is required */ @@ -184,7 +184,7 @@ class ValidatorTypeGuesser implements FormTypeGuesserInterface /** * Guesses a field's maximum length based on the given constraint * - * @param Constraint $constraint The constraint to guess for + * @param Constraint $constraint The constraint to guess for * * @return Guess The guess for the maximum length */ @@ -214,7 +214,7 @@ class ValidatorTypeGuesser implements FormTypeGuesserInterface /** * Guesses a field's pattern based on the given constraint * - * @param Constraint $constraint The constraint to guess for + * @param Constraint $constraint The constraint to guess for * * @return Guess The guess for the pattern */ @@ -248,11 +248,11 @@ class ValidatorTypeGuesser implements FormTypeGuesserInterface * Iterates over the constraints of a property, executes a constraints on * them and returns the best guess * - * @param string $class The class to read the constraints from - * @param string $property The property for which to find constraints - * @param \Closure $closure The closure that returns a guess + * @param string $class The class to read the constraints from + * @param string $property The property for which to find constraints + * @param \Closure $closure The closure that returns a guess * for a given constraint - * @param mixed $default The default value assumed if no other value + * @param mixed $default The default value assumed if no other value * can be guessed. * * @return Guess The guessed value with the highest confidence diff --git a/src/Symfony/Component/Form/Form.php b/src/Symfony/Component/Form/Form.php index f75cd4b0a1..d6adc61060 100644 --- a/src/Symfony/Component/Form/Form.php +++ b/src/Symfony/Component/Form/Form.php @@ -582,7 +582,7 @@ class Form implements \IteratorAggregate, FormInterface * If the request method is POST, PUT or GET, the data is bound to the form, * transformed and written into the form data (an object or an array). * - * @param Request $request The request to bind to the form + * @param Request $request The request to bind to the form * * @return Form This form * @@ -923,8 +923,8 @@ class Form implements \IteratorAggregate, FormInterface /** * Adds a child to the form (implements the \ArrayAccess interface). * - * @param string $name Ignored. The name of the child is used. - * @param FormInterface $child The child to be added + * @param string $name Ignored. The name of the child is used. + * @param FormInterface $child The child to be added */ public function offsetSet($name, $child) { @@ -934,7 +934,7 @@ class Form implements \IteratorAggregate, FormInterface /** * Removes the child with the given name from the form (implements the \ArrayAccess interface). * - * @param string $name The name of the child to be removed + * @param string $name The name of the child to be removed */ public function offsetUnset($name) { @@ -1006,7 +1006,7 @@ class Form implements \IteratorAggregate, FormInterface /** * Normalizes the value if a normalization transformer is set. * - * @param mixed $value The value to transform + * @param mixed $value The value to transform * * @return string */ @@ -1022,7 +1022,7 @@ class Form implements \IteratorAggregate, FormInterface /** * Reverse transforms a value if a normalization transformer is set. * - * @param string $value The value to reverse transform + * @param string $value The value to reverse transform * * @return mixed */ @@ -1038,7 +1038,7 @@ class Form implements \IteratorAggregate, FormInterface /** * Transforms the value if a value transformer is set. * - * @param mixed $value The value to transform + * @param mixed $value The value to transform * * @return string */ @@ -1060,7 +1060,7 @@ class Form implements \IteratorAggregate, FormInterface /** * Reverse transforms a value if a value transformer is set. * - * @param string $value The value to reverse transform + * @param string $value The value to reverse transform * * @return mixed */ diff --git a/src/Symfony/Component/Form/FormBuilder.php b/src/Symfony/Component/Form/FormBuilder.php index b8f7da16c6..0e98961913 100644 --- a/src/Symfony/Component/Form/FormBuilder.php +++ b/src/Symfony/Component/Form/FormBuilder.php @@ -574,9 +574,9 @@ class FormBuilder /** * Creates a form builder. * - * @param string $name The name of the form or the name of the property - * @param string|FormTypeInterface $type The type of the form or null if name is a property - * @param array $options The options + * @param string $name The name of the form or the name of the property + * @param string|FormTypeInterface $type The type of the form or null if name is a property + * @param array $options The options * * @return FormBuilder The builder */ diff --git a/src/Symfony/Component/Form/FormError.php b/src/Symfony/Component/Form/FormError.php index bac75b5c51..ee006c4234 100644 --- a/src/Symfony/Component/Form/FormError.php +++ b/src/Symfony/Component/Form/FormError.php @@ -43,8 +43,8 @@ class FormError * $messageTemplate. * @see Symfony\Component\Translation\Translator * - * @param string $messageTemplate The template for the error message - * @param array $messageParameters The parameters that should be + * @param string $messageTemplate The template for the error message + * @param array $messageParameters The parameters that should be * substituted in the message template. * @param integer $messagePluralization The value for error message pluralization */ diff --git a/src/Symfony/Component/Form/FormFactory.php b/src/Symfony/Component/Form/FormFactory.php index 5b75795e78..ab600c52be 100644 --- a/src/Symfony/Component/Form/FormFactory.php +++ b/src/Symfony/Component/Form/FormFactory.php @@ -125,10 +125,10 @@ class FormFactory implements FormFactoryInterface * * @see createBuilder() * - * @param string|FormTypeInterface $type The type of the form - * @param mixed $data The initial data - * @param array $options The options - * @param FormBuilder $parent The parent builder + * @param string|FormTypeInterface $type The type of the form + * @param mixed $data The initial data + * @param array $options The options + * @param FormBuilder $parent The parent builder * * @return Form The form named after the type * @@ -144,11 +144,11 @@ class FormFactory implements FormFactoryInterface * * @see createNamedBuilder() * - * @param string|FormTypeInterface $type The type of the form - * @param string $name The name of the form - * @param mixed $data The initial data - * @param array $options The options - * @param FormBuilder $parent The parent builder + * @param string|FormTypeInterface $type The type of the form + * @param string $name The name of the form + * @param mixed $data The initial data + * @param array $options The options + * @param FormBuilder $parent The parent builder * * @return Form The form * @@ -164,11 +164,11 @@ class FormFactory implements FormFactoryInterface * * @see createBuilderForProperty() * - * @param string $class The fully qualified class name - * @param string $property The name of the property to guess for - * @param mixed $data The initial data - * @param array $options The options for the builder - * @param FormBuilder $parent The parent builder + * @param string $class The fully qualified class name + * @param string $property The name of the property to guess for + * @param mixed $data The initial data + * @param array $options The options for the builder + * @param FormBuilder $parent The parent builder * * @return Form The form named after the property * @@ -182,10 +182,10 @@ class FormFactory implements FormFactoryInterface /** * Returns a form builder * - * @param string|FormTypeInterface $type The type of the form - * @param mixed $data The initial data - * @param array $options The options - * @param FormBuilder $parent The parent builder + * @param string|FormTypeInterface $type The type of the form + * @param mixed $data The initial data + * @param array $options The options + * @param FormBuilder $parent The parent builder * * @return FormBuilder The form builder * @@ -201,11 +201,11 @@ class FormFactory implements FormFactoryInterface /** * Returns a form builder. * - * @param string|FormTypeInterface $type The type of the form - * @param string $name The name of the form - * @param mixed $data The initial data - * @param array $options The options - * @param FormBuilder $parent The parent builder + * @param string|FormTypeInterface $type The type of the form + * @param string $name The name of the form + * @param mixed $data The initial data + * @param array $options The options + * @param FormBuilder $parent The parent builder * * @return FormBuilder The form builder * @@ -310,11 +310,11 @@ class FormFactory implements FormFactoryInterface * If any of the 'max_length', 'required', 'pattern' and type options can be guessed, * and are not provided in the options argument, the guessed value is used. * - * @param string $class The fully qualified class name - * @param string $property The name of the property to guess for - * @param mixed $data The initial data - * @param array $options The options for the builder - * @param FormBuilder $parent The parent builder + * @param string $class The fully qualified class name + * @param string $property The name of the property to guess for + * @param mixed $data The initial data + * @param array $options The options for the builder + * @param FormBuilder $parent The parent builder * * @return FormBuilder The form builder named after the property * diff --git a/src/Symfony/Component/Form/FormFactoryInterface.php b/src/Symfony/Component/Form/FormFactoryInterface.php index 13e1b69e5d..8463ed85ef 100644 --- a/src/Symfony/Component/Form/FormFactoryInterface.php +++ b/src/Symfony/Component/Form/FormFactoryInterface.php @@ -18,10 +18,10 @@ interface FormFactoryInterface * * @see createBuilder() * - * @param string|FormTypeInterface $type The type of the form - * @param mixed $data The initial data - * @param array $options The options - * @param FormBuilder $parent The parent builder + * @param string|FormTypeInterface $type The type of the form + * @param mixed $data The initial data + * @param array $options The options + * @param FormBuilder $parent The parent builder * * @return Form The form named after the type * @@ -32,11 +32,11 @@ interface FormFactoryInterface /** * Returns a form. * - * @param string|FormTypeInterface $type The type of the form - * @param string $name The name of the form - * @param mixed $data The initial data - * @param array $options The options - * @param FormBuilder $parent The parent builder + * @param string|FormTypeInterface $type The type of the form + * @param string $name The name of the form + * @param mixed $data The initial data + * @param array $options The options + * @param FormBuilder $parent The parent builder * * @return Form The form * @@ -47,11 +47,11 @@ interface FormFactoryInterface /** * Returns a form for a property of a class. * - * @param string $class The fully qualified class name - * @param string $property The name of the property to guess for - * @param mixed $data The initial data - * @param array $options The options for the builder - * @param FormBuilder $parent The parent builder + * @param string $class The fully qualified class name + * @param string $property The name of the property to guess for + * @param mixed $data The initial data + * @param array $options The options for the builder + * @param FormBuilder $parent The parent builder * * @return Form The form named after the property * @@ -62,10 +62,10 @@ interface FormFactoryInterface /** * Returns a form builder * - * @param string|FormTypeInterface $type The type of the form - * @param mixed $data The initial data - * @param array $options The options - * @param FormBuilder $parent The parent builder + * @param string|FormTypeInterface $type The type of the form + * @param mixed $data The initial data + * @param array $options The options + * @param FormBuilder $parent The parent builder * * @return FormBuilder The form builder * @@ -76,11 +76,11 @@ interface FormFactoryInterface /** * Returns a form builder. * - * @param string|FormTypeInterface $type The type of the form - * @param string $name The name of the form - * @param mixed $data The initial data - * @param array $options The options - * @param FormBuilder $parent The parent builder + * @param string|FormTypeInterface $type The type of the form + * @param string $name The name of the form + * @param mixed $data The initial data + * @param array $options The options + * @param FormBuilder $parent The parent builder * * @return FormBuilder The form builder * @@ -94,11 +94,11 @@ interface FormFactoryInterface * If any of the 'max_length', 'required' and type options can be guessed, * and are not provided in the options argument, the guessed value is used. * - * @param string $class The fully qualified class name - * @param string $property The name of the property to guess for - * @param mixed $data The initial data - * @param array $options The options for the builder - * @param FormBuilder $parent The parent builder + * @param string $class The fully qualified class name + * @param string $property The name of the property to guess for + * @param mixed $data The initial data + * @param array $options The options for the builder + * @param FormBuilder $parent The parent builder * * @return FormBuilder The form builder named after the property * diff --git a/src/Symfony/Component/Form/FormInterface.php b/src/Symfony/Component/Form/FormInterface.php index f3ca837356..7d2539e940 100644 --- a/src/Symfony/Component/Form/FormInterface.php +++ b/src/Symfony/Component/Form/FormInterface.php @@ -207,7 +207,7 @@ interface FormInterface extends \ArrayAccess, \Traversable, \Countable /** * Writes data into the form. * - * @param mixed $data The data + * @param mixed $data The data */ function bind($data); diff --git a/src/Symfony/Component/Form/FormTypeExtensionInterface.php b/src/Symfony/Component/Form/FormTypeExtensionInterface.php index 8c72c78616..c4803f8664 100644 --- a/src/Symfony/Component/Form/FormTypeExtensionInterface.php +++ b/src/Symfony/Component/Form/FormTypeExtensionInterface.php @@ -21,8 +21,8 @@ interface FormTypeExtensionInterface * * @see FormTypeInterface::buildForm() * - * @param FormBuilder $builder The form builder - * @param array $options The options + * @param FormBuilder $builder The form builder + * @param array $options The options */ function buildForm(FormBuilder $builder, array $options); diff --git a/src/Symfony/Component/Form/FormTypeGuesserChain.php b/src/Symfony/Component/Form/FormTypeGuesserChain.php index 1e9681db8a..d1c27018dd 100644 --- a/src/Symfony/Component/Form/FormTypeGuesserChain.php +++ b/src/Symfony/Component/Form/FormTypeGuesserChain.php @@ -94,7 +94,7 @@ class FormTypeGuesserChain implements FormTypeGuesserInterface * Executes a closure for each guesser and returns the best guess from the * return values * - * @param \Closure $closure The closure to execute. Accepts a guesser + * @param \Closure $closure The closure to execute. Accepts a guesser * as argument and should return a Guess instance * * @return Guess The guess with the highest confidence diff --git a/src/Symfony/Component/Form/FormTypeGuesserInterface.php b/src/Symfony/Component/Form/FormTypeGuesserInterface.php index db6d16933c..465c96a7fc 100644 --- a/src/Symfony/Component/Form/FormTypeGuesserInterface.php +++ b/src/Symfony/Component/Form/FormTypeGuesserInterface.php @@ -16,8 +16,8 @@ interface FormTypeGuesserInterface /** * Returns a field guess for a property name of a class * - * @param string $class The fully qualified class name - * @param string $property The name of the property to guess for + * @param string $class The fully qualified class name + * @param string $property The name of the property to guess for * * @return TypeGuess A guess for the field's type and options */ @@ -26,8 +26,8 @@ interface FormTypeGuesserInterface /** * Returns a guess whether a property of a class is required * - * @param string $class The fully qualified class name - * @param string $property The name of the property to guess for + * @param string $class The fully qualified class name + * @param string $property The name of the property to guess for * * @return Guess A guess for the field's required setting */ @@ -36,8 +36,8 @@ interface FormTypeGuesserInterface /** * Returns a guess about the field's maximum length * - * @param string $class The fully qualified class name - * @param string $property The name of the property to guess for + * @param string $class The fully qualified class name + * @param string $property The name of the property to guess for * * @return Guess A guess for the field's maximum length */ @@ -46,8 +46,8 @@ interface FormTypeGuesserInterface /** * Returns a guess about the field's minimum length * - * @param string $class The fully qualified class name - * @param string $property The name of the property to guess for + * @param string $class The fully qualified class name + * @param string $property The name of the property to guess for * * @return Guess A guess for the field's minimum length * @@ -64,8 +64,8 @@ interface FormTypeGuesserInterface * You want a float greater than 5, 4.512313 is not valid but length(4.512314) > length(5) * @link https://github.com/symfony/symfony/pull/3927 * - * @param string $class The fully qualified class name - * @param string $property The name of the property to guess for + * @param string $class The fully qualified class name + * @param string $property The name of the property to guess for * * @return Guess A guess for the field's required pattern */ diff --git a/src/Symfony/Component/Form/FormTypeInterface.php b/src/Symfony/Component/Form/FormTypeInterface.php index 556792c247..aeb827baae 100644 --- a/src/Symfony/Component/Form/FormTypeInterface.php +++ b/src/Symfony/Component/Form/FormTypeInterface.php @@ -22,8 +22,8 @@ interface FormTypeInterface * * @see FormTypeExtensionInterface::buildForm() * - * @param FormBuilder $builder The form builder - * @param array $options The options + * @param FormBuilder $builder The form builder + * @param array $options The options */ function buildForm(FormBuilder $builder, array $options); @@ -64,9 +64,9 @@ interface FormTypeInterface * The builder is retrieved by going up in the type hierarchy when a type does * not provide one. * - * @param string $name The name of the builder - * @param FormFactoryInterface $factory The form factory - * @param array $options The options + * @param string $name The name of the builder + * @param FormFactoryInterface $factory The form factory + * @param array $options The options * * @return FormBuilder|null A form builder or null when the type does not have a builder */ diff --git a/src/Symfony/Component/Form/FormView.php b/src/Symfony/Component/Form/FormView.php index 5d88346edc..5bd4b281a3 100644 --- a/src/Symfony/Component/Form/FormView.php +++ b/src/Symfony/Component/Form/FormView.php @@ -198,7 +198,7 @@ class FormView implements ArrayAccess, IteratorAggregate, Countable /** * Adds a child view. * - * @param FormView $child The child view to add. + * @param FormView $child The child view to add. * * @return FormView The current view */ @@ -212,7 +212,7 @@ class FormView implements ArrayAccess, IteratorAggregate, Countable /** * Removes a child view. * - * @param string $name The name of the removed child view. + * @param string $name The name of the removed child view. * * @return FormView The current view */ diff --git a/src/Symfony/Component/Form/Guess/Guess.php b/src/Symfony/Component/Form/Guess/Guess.php index 44d5f232be..8d4c278af9 100644 --- a/src/Symfony/Component/Form/Guess/Guess.php +++ b/src/Symfony/Component/Form/Guess/Guess.php @@ -73,7 +73,7 @@ abstract class Guess * If there are multiple guesses with the same, highest confidence, the * returned guess is any of them. * - * @param array $guesses A list of guesses + * @param array $guesses A list of guesses * * @return Guess The guess with the highest confidence */ @@ -89,7 +89,7 @@ abstract class Guess /** * Constructor * - * @param integer $confidence The confidence + * @param integer $confidence The confidence */ public function __construct($confidence) { diff --git a/src/Symfony/Component/Form/Guess/TypeGuess.php b/src/Symfony/Component/Form/Guess/TypeGuess.php index 3c74a12ba4..69256a97cb 100644 --- a/src/Symfony/Component/Form/Guess/TypeGuess.php +++ b/src/Symfony/Component/Form/Guess/TypeGuess.php @@ -34,10 +34,10 @@ class TypeGuess extends Guess /** * Constructor * - * @param string $type The guessed field type - * @param array $options The options for creating instances of the + * @param string $type The guessed field type + * @param array $options The options for creating instances of the * guessed class - * @param integer $confidence The confidence that the guessed class name + * @param integer $confidence The confidence that the guessed class name * is correct */ public function __construct($type, array $options, $confidence) diff --git a/src/Symfony/Component/Form/Guess/ValueGuess.php b/src/Symfony/Component/Form/Guess/ValueGuess.php index 36e713b86c..8f90608015 100644 --- a/src/Symfony/Component/Form/Guess/ValueGuess.php +++ b/src/Symfony/Component/Form/Guess/ValueGuess.php @@ -27,8 +27,8 @@ class ValueGuess extends Guess /** * Constructor * - * @param string $value The guessed value - * @param integer $confidence The confidence that the guessed class name + * @param string $value The guessed value + * @param integer $confidence The confidence that the guessed class name * is correct */ public function __construct($value, $confidence) diff --git a/src/Symfony/Component/Form/Util/FormUtil.php b/src/Symfony/Component/Form/Util/FormUtil.php index 9596796add..251ebd040e 100644 --- a/src/Symfony/Component/Form/Util/FormUtil.php +++ b/src/Symfony/Component/Form/Util/FormUtil.php @@ -113,7 +113,7 @@ abstract class FormUtil * If the method can't determine the form with certainty, an array of the * possible singulars is returned. * - * @param string $plural A word in plural form + * @param string $plural A word in plural form * @return string|array The singular form or an array of possible singular * forms */ diff --git a/src/Symfony/Component/Form/Util/PropertyPath.php b/src/Symfony/Component/Form/Util/PropertyPath.php index f6be432075..1d052a0156 100644 --- a/src/Symfony/Component/Form/Util/PropertyPath.php +++ b/src/Symfony/Component/Form/Util/PropertyPath.php @@ -208,7 +208,7 @@ class PropertyPath implements \IteratorAggregate /** * Returns whether the element at the given index is a property * - * @param integer $index The index in the property path + * @param integer $index The index in the property path * * @return Boolean Whether the element at this index is a property */ @@ -220,7 +220,7 @@ class PropertyPath implements \IteratorAggregate /** * Returns whether the element at the given index is an array index * - * @param integer $index The index in the property path + * @param integer $index The index in the property path * * @return Boolean Whether the element at this index is an array index */ @@ -249,7 +249,7 @@ class PropertyPath implements \IteratorAggregate * * If none of them are found, an exception is thrown. * - * @param object|array $objectOrArray The object or array to traverse + * @param object|array $objectOrArray The object or array to traverse * * @return mixed The value at the end of the property path * @@ -299,8 +299,8 @@ class PropertyPath implements \IteratorAggregate * * If neither is found, an exception is thrown. * - * @param object|array $objectOrArray The object or array to traverse - * @param mixed $value The value at the end of the property path + * @param object|array $objectOrArray The object or array to traverse + * @param mixed $value The value at the end of the property path * * @throws InvalidPropertyException If the property/setter does not exist * @throws PropertyAccessDeniedException If the property/setter exists but is not public @@ -336,8 +336,8 @@ class PropertyPath implements \IteratorAggregate /** * Reads the value of the property at the given index in the path * - * @param object $object The object to read from - * @param integer $currentIndex The index of the read property in the path + * @param object $object The object to read from + * @param integer $currentIndex The index of the read property in the path * * @return mixed The value of the property */ @@ -401,7 +401,7 @@ class PropertyPath implements \IteratorAggregate * * @param object $objectOrArray The object or array to traverse * @param integer $currentIndex The index of the modified property in the path - * @param mixed $value The value to set + * @param mixed $value The value to set */ protected function writeProperty(&$objectOrArray, $currentIndex, $value) { diff --git a/src/Symfony/Component/Form/Util/PropertyPathIterator.php b/src/Symfony/Component/Form/Util/PropertyPathIterator.php index 407bc64e31..d1e25afbe7 100644 --- a/src/Symfony/Component/Form/Util/PropertyPathIterator.php +++ b/src/Symfony/Component/Form/Util/PropertyPathIterator.php @@ -28,7 +28,7 @@ class PropertyPathIterator extends \ArrayIterator /** * Constructor. * - * @param PropertyPath $path The property path to traverse + * @param PropertyPath $path The property path to traverse */ public function __construct(PropertyPath $path) { diff --git a/src/Symfony/Component/HttpFoundation/Cookie.php b/src/Symfony/Component/HttpFoundation/Cookie.php index 0511162aa6..47c2199f2b 100644 --- a/src/Symfony/Component/HttpFoundation/Cookie.php +++ b/src/Symfony/Component/HttpFoundation/Cookie.php @@ -31,13 +31,13 @@ class Cookie /** * Constructor. * - * @param string $name The name of the cookie - * @param string $value The value of the cookie - * @param integer|string|\DateTime $expire The time the cookie expires - * @param string $path The path on the server in which the cookie will be available on - * @param string $domain The domain that the cookie is available to - * @param Boolean $secure Whether the cookie should only be transmitted over a secure HTTPS connection from the client - * @param Boolean $httpOnly Whether the cookie will be made accessible only through the HTTP protocol + * @param string $name The name of the cookie + * @param string $value The value of the cookie + * @param integer|string|\DateTime $expire The time the cookie expires + * @param string $path The path on the server in which the cookie will be available on + * @param string $domain The domain that the cookie is available to + * @param Boolean $secure Whether the cookie should only be transmitted over a secure HTTPS connection from the client + * @param Boolean $httpOnly Whether the cookie will be made accessible only through the HTTP protocol * * @api */ diff --git a/src/Symfony/Component/HttpFoundation/File/Exception/AccessDeniedException.php b/src/Symfony/Component/HttpFoundation/File/Exception/AccessDeniedException.php index 9c7fe6812a..b97dfb3eb3 100644 --- a/src/Symfony/Component/HttpFoundation/File/Exception/AccessDeniedException.php +++ b/src/Symfony/Component/HttpFoundation/File/Exception/AccessDeniedException.php @@ -21,7 +21,7 @@ class AccessDeniedException extends FileException /** * Constructor. * - * @param string $path The path to the accessed file + * @param string $path The path to the accessed file */ public function __construct($path) { diff --git a/src/Symfony/Component/HttpFoundation/File/Exception/FileNotFoundException.php b/src/Symfony/Component/HttpFoundation/File/Exception/FileNotFoundException.php index 5b1aef8e2b..c9a41f79b6 100644 --- a/src/Symfony/Component/HttpFoundation/File/Exception/FileNotFoundException.php +++ b/src/Symfony/Component/HttpFoundation/File/Exception/FileNotFoundException.php @@ -21,7 +21,7 @@ class FileNotFoundException extends FileException /** * Constructor. * - * @param string $path The path to the file that was not found + * @param string $path The path to the file that was not found */ public function __construct($path) { diff --git a/src/Symfony/Component/HttpFoundation/File/MimeType/ExtensionGuesser.php b/src/Symfony/Component/HttpFoundation/File/MimeType/ExtensionGuesser.php index b73cd99910..dcea613b20 100644 --- a/src/Symfony/Component/HttpFoundation/File/MimeType/ExtensionGuesser.php +++ b/src/Symfony/Component/HttpFoundation/File/MimeType/ExtensionGuesser.php @@ -82,7 +82,7 @@ class ExtensionGuesser implements ExtensionGuesserInterface * returns a value that is not NULL, this method terminates and returns the * value. * - * @param string $mimeType The mime type + * @param string $mimeType The mime type * @return string The guessed extension or NULL, if none could be guessed */ public function guess($mimeType) diff --git a/src/Symfony/Component/HttpFoundation/File/MimeType/ExtensionGuesserInterface.php b/src/Symfony/Component/HttpFoundation/File/MimeType/ExtensionGuesserInterface.php index 5b14ef9ed3..e8db065724 100644 --- a/src/Symfony/Component/HttpFoundation/File/MimeType/ExtensionGuesserInterface.php +++ b/src/Symfony/Component/HttpFoundation/File/MimeType/ExtensionGuesserInterface.php @@ -19,7 +19,7 @@ interface ExtensionGuesserInterface /** * Makes a best guess for a file extension, given a mime type * - * @param string $mimeType The mime type + * @param string $mimeType The mime type * @return string The guessed extension or NULL, if none could be guessed */ function guess($mimeType); diff --git a/src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeGuesser.php b/src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeGuesser.php index d73a093dfd..fe41ed8dc1 100644 --- a/src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeGuesser.php +++ b/src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeGuesser.php @@ -92,7 +92,7 @@ class MimeTypeGuesser implements MimeTypeGuesserInterface * returns a value that is not NULL, this method terminates and returns the * value. * - * @param string $path The path to the file + * @param string $path The path to the file * * @return string The mime type or NULL, if none could be guessed * diff --git a/src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeGuesserInterface.php b/src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeGuesserInterface.php index 66178bb952..ddb8c69aa7 100644 --- a/src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeGuesserInterface.php +++ b/src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeGuesserInterface.php @@ -21,7 +21,7 @@ interface MimeTypeGuesserInterface /** * Guesses the mime type of the file with the given path. * - * @param string $path The path to the file + * @param string $path The path to the file * * @return string The mime type or NULL, if none could be guessed * diff --git a/src/Symfony/Component/HttpFoundation/FileBag.php b/src/Symfony/Component/HttpFoundation/FileBag.php index 702ab84c02..f77a4b35bd 100644 --- a/src/Symfony/Component/HttpFoundation/FileBag.php +++ b/src/Symfony/Component/HttpFoundation/FileBag.php @@ -80,7 +80,7 @@ class FileBag extends ParameterBag /** * Converts uploaded files to UploadedFile instances. * - * @param array|UploadedFile $file A (multi-dimensional) array of uploaded file information + * @param array|UploadedFile $file A (multi-dimensional) array of uploaded file information * * @return array A (multi-dimensional) array of UploadedFile instances */ diff --git a/src/Symfony/Component/HttpFoundation/HeaderBag.php b/src/Symfony/Component/HttpFoundation/HeaderBag.php index 88ad1afd68..cb340120b4 100644 --- a/src/Symfony/Component/HttpFoundation/HeaderBag.php +++ b/src/Symfony/Component/HttpFoundation/HeaderBag.php @@ -90,7 +90,7 @@ class HeaderBag implements \IteratorAggregate, \Countable /** * Replaces the current HTTP headers by a new set. * - * @param array $headers An array of HTTP headers + * @param array $headers An array of HTTP headers * * @api */ @@ -103,7 +103,7 @@ class HeaderBag implements \IteratorAggregate, \Countable /** * Adds new headers the current HTTP headers set. * - * @param array $headers An array of HTTP headers + * @param array $headers An array of HTTP headers * * @api */ diff --git a/src/Symfony/Component/HttpFoundation/JsonResponse.php b/src/Symfony/Component/HttpFoundation/JsonResponse.php index d30899fa89..0551e75b17 100644 --- a/src/Symfony/Component/HttpFoundation/JsonResponse.php +++ b/src/Symfony/Component/HttpFoundation/JsonResponse.php @@ -24,9 +24,9 @@ class JsonResponse extends Response /** * Constructor. * - * @param mixed $data The response data - * @param integer $status The response status code - * @param array $headers An array of response headers + * @param mixed $data The response data + * @param integer $status The response status code + * @param array $headers An array of response headers */ public function __construct($data = array(), $status = 200, $headers = array()) { diff --git a/src/Symfony/Component/HttpFoundation/ParameterBag.php b/src/Symfony/Component/HttpFoundation/ParameterBag.php index b4fa676052..a39756eb6f 100644 --- a/src/Symfony/Component/HttpFoundation/ParameterBag.php +++ b/src/Symfony/Component/HttpFoundation/ParameterBag.php @@ -92,7 +92,7 @@ class ParameterBag implements \IteratorAggregate, \Countable * * @param string $path The key * @param mixed $default The default value if the parameter key does not exist - * @param boolean $deep If true, a path like foo[bar] will find deeper items + * @param boolean $deep If true, a path like foo[bar] will find deeper items * * @api */ @@ -189,7 +189,7 @@ class ParameterBag implements \IteratorAggregate, \Countable * * @param string $key The parameter key * @param mixed $default The default value if the parameter key does not exist - * @param boolean $deep If true, a path like foo[bar] will find deeper items + * @param boolean $deep If true, a path like foo[bar] will find deeper items * * @return string The filtered value * @@ -205,7 +205,7 @@ class ParameterBag implements \IteratorAggregate, \Countable * * @param string $key The parameter key * @param mixed $default The default value if the parameter key does not exist - * @param boolean $deep If true, a path like foo[bar] will find deeper items + * @param boolean $deep If true, a path like foo[bar] will find deeper items * * @return string The filtered value * @@ -221,7 +221,7 @@ class ParameterBag implements \IteratorAggregate, \Countable * * @param string $key The parameter key * @param mixed $default The default value if the parameter key does not exist - * @param boolean $deep If true, a path like foo[bar] will find deeper items + * @param boolean $deep If true, a path like foo[bar] will find deeper items * * @return string The filtered value * @@ -238,7 +238,7 @@ class ParameterBag implements \IteratorAggregate, \Countable * * @param string $key The parameter key * @param mixed $default The default value if the parameter key does not exist - * @param boolean $deep If true, a path like foo[bar] will find deeper items + * @param boolean $deep If true, a path like foo[bar] will find deeper items * * @return integer The filtered value * diff --git a/src/Symfony/Component/HttpFoundation/Request.php b/src/Symfony/Component/HttpFoundation/Request.php index ae18c8e4b8..9e35de81cd 100644 --- a/src/Symfony/Component/HttpFoundation/Request.php +++ b/src/Symfony/Component/HttpFoundation/Request.php @@ -470,9 +470,9 @@ class Request * It is better to explicity get request parameters from the appropriate * public property instead (query, request, attributes, ...). * - * @param string $key the key - * @param mixed $default the default value - * @param type $deep is parameter deep in multidimensional array + * @param string $key the key + * @param mixed $default the default value + * @param type $deep is parameter deep in multidimensional array * * @return mixed */ @@ -884,7 +884,7 @@ class Request /** * Gets the mime type associated with the format. * - * @param string $format The format + * @param string $format The format * * @return string The associated mime type (null if not found) * @@ -902,7 +902,7 @@ class Request /** * Gets the format associated with the mime type. * - * @param string $mimeType The associated mime type + * @param string $mimeType The associated mime type * * @return string The format (null if not found) * @@ -930,8 +930,8 @@ class Request /** * Associates a format with mime types. * - * @param string $format The format - * @param string|array $mimeTypes The associated mime types (the preferred one must be the first as it will be used as the content type) + * @param string $format The format + * @param string|array $mimeTypes The associated mime types (the preferred one must be the first as it will be used as the content type) * * @api */ @@ -953,7 +953,7 @@ class Request * * _format request parameter * * $default * - * @param string $default The default format + * @param string $default The default format * * @return string The request format * @@ -1053,7 +1053,7 @@ class Request /** * Returns the request body content. * - * @param Boolean $asResource If true, a resource will be returned + * @param Boolean $asResource If true, a resource will be returned * * @return string|resource The request body content or a resource to read the body stream. */ @@ -1094,7 +1094,7 @@ class Request /** * Returns the preferred language. * - * @param array $locales An array of ordered available locales + * @param array $locales An array of ordered available locales * * @return string|null The preferred locale * @@ -1209,7 +1209,7 @@ class Request /** * Splits an Accept-* HTTP header. * - * @param string $header Header to split + * @param string $header Header to split * * @return array Array indexed by the values of the Accept-* header in preferred order */ diff --git a/src/Symfony/Component/HttpFoundation/RequestMatcherInterface.php b/src/Symfony/Component/HttpFoundation/RequestMatcherInterface.php index 506ec79401..0ee161c884 100644 --- a/src/Symfony/Component/HttpFoundation/RequestMatcherInterface.php +++ b/src/Symfony/Component/HttpFoundation/RequestMatcherInterface.php @@ -23,7 +23,7 @@ interface RequestMatcherInterface /** * Decides whether the rule(s) implemented by the strategy matches the supplied request. * - * @param Request $request The request to check for a match + * @param Request $request The request to check for a match * * @return Boolean true if the request matches, false otherwise * diff --git a/src/Symfony/Component/HttpFoundation/Response.php b/src/Symfony/Component/HttpFoundation/Response.php index 8324eb3e37..5afc665702 100644 --- a/src/Symfony/Component/HttpFoundation/Response.php +++ b/src/Symfony/Component/HttpFoundation/Response.php @@ -937,7 +937,7 @@ class Response * Sets the Vary header. * * @param string|array $headers - * @param Boolean $replace Whether to replace the actual value of not (true by default) + * @param Boolean $replace Whether to replace the actual value of not (true by default) * * @return Response * diff --git a/src/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php b/src/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php index 2fab8bddb8..a133bb70f2 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php +++ b/src/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php @@ -57,7 +57,7 @@ interface FlashBagInterface extends SessionBagInterface * Gets and clears flash from the stack. * * @param string $type - * @param array $default Default value if $type doee not exist. + * @param array $default Default value if $type doee not exist. * * @return string */ diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php b/src/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php index 5500a03419..45725522e8 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php @@ -61,7 +61,7 @@ class MockArraySessionStorage implements SessionStorageInterface /** * Constructor. * - * @param string $name Session name + * @param string $name Session name * @param MetadataBag $metaBag MetadataBag instance. */ public function __construct($name = 'MOCKSESSID', MetadataBag $metaBag = null) diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php b/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php index 215ed26ab0..7a9d77531e 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php @@ -89,8 +89,8 @@ class NativeSessionStorage implements SessionStorageInterface * upload_progress.min-freq, "1" * url_rewriter.tags, "a=href,area=href,frame=src,form=,fieldset=" * - * @param array $options Session configuration options. - * @param object $handler SessionHandlerInterface. + * @param array $options Session configuration options. + * @param object $handler SessionHandlerInterface. * @param MetadataBag $handler MetadataBag. */ public function __construct(array $options = array(), $handler = null, MetadataBag $metaBag = null) diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php b/src/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php index 20c533c2eb..c07ed7fb6f 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php @@ -82,7 +82,7 @@ interface SessionStorageInterface * Note regenerate+destroy should not clear the session data in memory * only delete the session data from persistent storage. * - * @param Boolean $destroy Destroy session when regenerating? + * @param Boolean $destroy Destroy session when regenerating? * @param integer $lifetime Sets the cookie lifetime for the session cookie. A null value * will leave the system settings unchanged, 0 sets the cookie * to expire with browser session. Time is in seconds, and is diff --git a/src/Symfony/Component/HttpKernel/Client.php b/src/Symfony/Component/HttpKernel/Client.php index ff93bf7950..f5dcd9a376 100644 --- a/src/Symfony/Component/HttpKernel/Client.php +++ b/src/Symfony/Component/HttpKernel/Client.php @@ -52,7 +52,7 @@ class Client extends BaseClient /** * Makes a request. * - * @param Request $request A Request instance + * @param Request $request A Request instance * * @return Response A Response instance */ diff --git a/src/Symfony/Component/HttpKernel/Config/FileLocator.php b/src/Symfony/Component/HttpKernel/Config/FileLocator.php index 6cc615ca94..d241b9da19 100644 --- a/src/Symfony/Component/HttpKernel/Config/FileLocator.php +++ b/src/Symfony/Component/HttpKernel/Config/FileLocator.php @@ -29,7 +29,7 @@ class FileLocator extends BaseFileLocator * * @param KernelInterface $kernel A KernelInterface instance * @param string $path The path the global resource directory - * @param string|array $paths A path or an array of paths where to look for resources + * @param string|array $paths A path or an array of paths where to look for resources */ public function __construct(KernelInterface $kernel, $path = null, array $paths = array()) { diff --git a/src/Symfony/Component/HttpKernel/Debug/StopwatchEvent.php b/src/Symfony/Component/HttpKernel/Debug/StopwatchEvent.php index 36e6541908..200c465bac 100644 --- a/src/Symfony/Component/HttpKernel/Debug/StopwatchEvent.php +++ b/src/Symfony/Component/HttpKernel/Debug/StopwatchEvent.php @@ -26,8 +26,8 @@ class StopwatchEvent /** * Constructor. * - * @param float $origin The origin time in milliseconds - * @param string $category The event category + * @param float $origin The origin time in milliseconds + * @param string $category The event category * * @throws \InvalidArgumentException When the raw time is not valid */ diff --git a/src/Symfony/Component/HttpKernel/Event/GetResponseForExceptionEvent.php b/src/Symfony/Component/HttpKernel/Event/GetResponseForExceptionEvent.php index f7cf28d951..fdf2f9cb87 100644 --- a/src/Symfony/Component/HttpKernel/Event/GetResponseForExceptionEvent.php +++ b/src/Symfony/Component/HttpKernel/Event/GetResponseForExceptionEvent.php @@ -61,7 +61,7 @@ class GetResponseForExceptionEvent extends GetResponseEvent * * This exception will be thrown if no response is set in the event. * - * @param \Exception $exception The thrown exception + * @param \Exception $exception The thrown exception * * @api */ diff --git a/src/Symfony/Component/HttpKernel/Exception/MethodNotAllowedHttpException.php b/src/Symfony/Component/HttpKernel/Exception/MethodNotAllowedHttpException.php index 7ae7b7a85c..cdfcc8ab7b 100644 --- a/src/Symfony/Component/HttpKernel/Exception/MethodNotAllowedHttpException.php +++ b/src/Symfony/Component/HttpKernel/Exception/MethodNotAllowedHttpException.php @@ -21,10 +21,10 @@ class MethodNotAllowedHttpException extends HttpException /** * Constructor. * - * @param array $allow An array of allowed methods - * @param string $message The internal exception message - * @param Exception $previous The previous exception - * @param integer $code The internal exception code + * @param array $allow An array of allowed methods + * @param string $message The internal exception message + * @param Exception $previous The previous exception + * @param integer $code The internal exception code */ public function __construct(array $allow, $message = null, \Exception $previous = null, $code = 0) { diff --git a/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php b/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php index ce3e005d92..49642d4801 100644 --- a/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php +++ b/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php @@ -647,7 +647,7 @@ class HttpCache implements HttpKernelInterface, TerminableInterface * Records that an event took place. * * @param Request $request A Request instance - * @param string $event The event name + * @param string $event The event name */ private function record(Request $request, $event) { diff --git a/src/Symfony/Component/HttpKernel/HttpCache/Store.php b/src/Symfony/Component/HttpKernel/HttpCache/Store.php index 0eae26270b..b60c647e74 100644 --- a/src/Symfony/Component/HttpKernel/HttpCache/Store.php +++ b/src/Symfony/Component/HttpKernel/HttpCache/Store.php @@ -293,7 +293,7 @@ class Store implements StoreInterface /** * Loads data for the given key. * - * @param string $key The store key + * @param string $key The store key * * @return string The data associated with the key */ diff --git a/src/Symfony/Component/HttpKernel/HttpKernel.php b/src/Symfony/Component/HttpKernel/HttpKernel.php index 9a465d1df3..eea71e855e 100644 --- a/src/Symfony/Component/HttpKernel/HttpKernel.php +++ b/src/Symfony/Component/HttpKernel/HttpKernel.php @@ -55,10 +55,10 @@ class HttpKernel implements HttpKernelInterface, TerminableInterface * When $catch is true, the implementation must catch all exceptions * and do its best to convert them to a Response instance. * - * @param Request $request A Request instance - * @param integer $type The type of the request + * @param Request $request A Request instance + * @param integer $type The type of the request * (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST) - * @param Boolean $catch Whether to catch exceptions or not + * @param Boolean $catch Whether to catch exceptions or not * * @return Response A Response instance * @@ -173,9 +173,9 @@ class HttpKernel implements HttpKernelInterface, TerminableInterface /** * Handles and exception by trying to convert it to a Response. * - * @param \Exception $e An \Exception instance - * @param Request $request A Request instance - * @param integer $type The type of the request + * @param \Exception $e An \Exception instance + * @param Request $request A Request instance + * @param integer $type The type of the request * * @return Response A Response instance */ diff --git a/src/Symfony/Component/HttpKernel/HttpKernelInterface.php b/src/Symfony/Component/HttpKernel/HttpKernelInterface.php index a2a0f1c5fd..efcf39da91 100644 --- a/src/Symfony/Component/HttpKernel/HttpKernelInterface.php +++ b/src/Symfony/Component/HttpKernel/HttpKernelInterface.php @@ -32,10 +32,10 @@ interface HttpKernelInterface * When $catch is true, the implementation must catch all exceptions * and do its best to convert them to a Response instance. * - * @param Request $request A Request instance - * @param integer $type The type of the request + * @param Request $request A Request instance + * @param integer $type The type of the request * (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST) - * @param Boolean $catch Whether to catch exceptions or not + * @param Boolean $catch Whether to catch exceptions or not * * @return Response A Response instance * diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index a9b21f3cd5..406e066dfc 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -413,8 +413,8 @@ abstract class Kernel implements KernelInterface, TerminableInterface /** * Loads the PHP class cache. * - * @param string $name The cache name prefix - * @param string $extension File extension of the resulting file + * @param string $name The cache name prefix + * @param string $extension File extension of the resulting file */ public function loadClassCache($name = 'classes', $extension = '.php') { diff --git a/src/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php b/src/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php index ba6bf1532d..19de33ac25 100644 --- a/src/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php +++ b/src/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php @@ -26,10 +26,10 @@ abstract class BaseMemcacheProfilerStorage implements ProfilerStorageInterface /** * Constructor. * - * @param string $dsn A data source name + * @param string $dsn A data source name * @param string $username * @param string $password - * @param int $lifetime The lifetime to use for the purge + * @param int $lifetime The lifetime to use for the purge */ public function __construct($dsn, $username = '', $password = '', $lifetime = 86400) { diff --git a/src/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php b/src/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php index 8e2bea4a44..551b810690 100644 --- a/src/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php +++ b/src/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php @@ -121,9 +121,9 @@ abstract class PdoProfilerStorage implements ProfilerStorageInterface /** * Build SQL criteria to fetch records by ip and url * - * @param string $ip The IP - * @param string $url The URL - * @param string $limit The maximum number of tokens to return + * @param string $ip The IP + * @param string $url The URL + * @param string $limit The maximum number of tokens to return * @param string $method The request method * * @return array An array with (criteria, args) @@ -214,7 +214,7 @@ abstract class PdoProfilerStorage implements ProfilerStorageInterface /** * Reads the child profiles for the given token. * - * @param string $token The parent token + * @param string $token The parent token * @param string $parent The parent instance * * @return array An array of Profile instance diff --git a/src/Symfony/Component/HttpKernel/Profiler/RedisProfilerStorage.php b/src/Symfony/Component/HttpKernel/Profiler/RedisProfilerStorage.php index af779c77a9..f7e5f3c8ff 100644 --- a/src/Symfony/Component/HttpKernel/Profiler/RedisProfilerStorage.php +++ b/src/Symfony/Component/HttpKernel/Profiler/RedisProfilerStorage.php @@ -38,10 +38,10 @@ class RedisProfilerStorage implements ProfilerStorageInterface /** * Constructor. * - * @param string $dsn A data source name - * @param string $username Not used - * @param string $password Not used - * @param int $lifetime The lifetime to use for the purge + * @param string $dsn A data source name + * @param string $username Not used + * @param string $password Not used + * @param int $lifetime The lifetime to use for the purge */ public function __construct($dsn, $username = '', $password = '', $lifetime = 86400) { diff --git a/src/Symfony/Component/Locale/Exception/MethodArgumentNotImplementedException.php b/src/Symfony/Component/Locale/Exception/MethodArgumentNotImplementedException.php index 3682eeb2d9..eadc39601e 100644 --- a/src/Symfony/Component/Locale/Exception/MethodArgumentNotImplementedException.php +++ b/src/Symfony/Component/Locale/Exception/MethodArgumentNotImplementedException.php @@ -21,8 +21,8 @@ class MethodArgumentNotImplementedException extends NotImplementedException /** * Constructor * - * @param string $methodName The method name that raised the exception - * @param string $argName The argument name that is not implemented + * @param string $methodName The method name that raised the exception + * @param string $argName The argument name that is not implemented */ public function __construct($methodName, $argName) { diff --git a/src/Symfony/Component/Locale/Exception/MethodArgumentValueNotImplementedException.php b/src/Symfony/Component/Locale/Exception/MethodArgumentValueNotImplementedException.php index 2fdb6feaed..421ca53381 100644 --- a/src/Symfony/Component/Locale/Exception/MethodArgumentValueNotImplementedException.php +++ b/src/Symfony/Component/Locale/Exception/MethodArgumentValueNotImplementedException.php @@ -21,10 +21,10 @@ class MethodArgumentValueNotImplementedException extends NotImplementedException /** * Constructor * - * @param string $methodName The method name that raised the exception - * @param string $argName The argument name - * @param string $argValue The argument value that is not implemented - * @param string $additionalMessage An optional additional message to append to the exception message + * @param string $methodName The method name that raised the exception + * @param string $argName The argument name + * @param string $argValue The argument value that is not implemented + * @param string $additionalMessage An optional additional message to append to the exception message */ public function __construct($methodName, $argName, $argValue, $additionalMessage = '') { diff --git a/src/Symfony/Component/Locale/Exception/NotImplementedException.php b/src/Symfony/Component/Locale/Exception/NotImplementedException.php index cbc7920bc6..350a458bbe 100644 --- a/src/Symfony/Component/Locale/Exception/NotImplementedException.php +++ b/src/Symfony/Component/Locale/Exception/NotImplementedException.php @@ -23,7 +23,7 @@ class NotImplementedException extends \RuntimeException /** * Constructor * - * @param string $message The exception message. A note to install the intl extension is appended to this string + * @param string $message The exception message. A note to install the intl extension is appended to this string */ public function __construct($message) { diff --git a/src/Symfony/Component/Locale/Locale.php b/src/Symfony/Component/Locale/Locale.php index 950cf207d8..0340213e6f 100644 --- a/src/Symfony/Component/Locale/Locale.php +++ b/src/Symfony/Component/Locale/Locale.php @@ -34,7 +34,7 @@ class Locale extends \Locale /** * Returns the country names for a locale * - * @param string $locale The locale to use for the country names + * @param string $locale The locale to use for the country names * * @return array The country names with their codes as keys * @@ -89,7 +89,7 @@ class Locale extends \Locale /** * Returns the language names for a locale * - * @param string $locale The locale to use for the language names + * @param string $locale The locale to use for the language names * * @return array The language names with their codes as keys * @@ -142,7 +142,7 @@ class Locale extends \Locale /** * Returns the locale names for a locale * - * @param string $locale The locale to use for the locale names + * @param string $locale The locale to use for the locale names * @return array The locale names with their codes as keys * @throws RuntimeException When the resource bundles cannot be loaded */ diff --git a/src/Symfony/Component/Locale/Stub/DateFormat/FullTransformer.php b/src/Symfony/Component/Locale/Stub/DateFormat/FullTransformer.php index e06e0431ec..bc7f41178c 100644 --- a/src/Symfony/Component/Locale/Stub/DateFormat/FullTransformer.php +++ b/src/Symfony/Component/Locale/Stub/DateFormat/FullTransformer.php @@ -34,8 +34,8 @@ class FullTransformer /** * Constructor * - * @param string $pattern The pattern to be used to format and/or parse values - * @param string $timezone The timezone to perform the date/time calculations + * @param string $pattern The pattern to be used to format and/or parse values + * @param string $timezone The timezone to perform the date/time calculations */ public function __construct($pattern, $timezone) { @@ -79,7 +79,7 @@ class FullTransformer /** * Format a DateTime using ICU dateformat pattern * - * @param DateTime $dateTime A DateTime object to be used to generate the formatted value + * @param DateTime $dateTime A DateTime object to be used to generate the formatted value * * @return string The formatted value */ @@ -97,8 +97,8 @@ class FullTransformer /** * Return the formatted ICU value for the matched date characters * - * @param string $dateChars The date characters to be replaced with a formatted ICU value - * @param DateTime $dateTime A DateTime object to be used to generate the formatted value + * @param string $dateChars The date characters to be replaced with a formatted ICU value + * @param DateTime $dateTime A DateTime object to be used to generate the formatted value * * @return string The formatted value * @@ -127,8 +127,8 @@ class FullTransformer /** * Parse a pattern based string to a timestamp value * - * @param DateTime $dateTime A configured DateTime object to use to perform the date calculation - * @param string $value String to convert to a time value + * @param DateTime $dateTime A configured DateTime object to use to perform the date calculation + * @param string $value String to convert to a time value * * @return int The corresponding Unix timestamp * @@ -163,7 +163,7 @@ class FullTransformer /** * Retrieve a regular expression to match with a formatted value. * - * @param string $pattern The pattern to create the reverse matching regular expression + * @param string $pattern The pattern to create the reverse matching regular expression * * @return string The reverse matching regular expression with named captures being formed by the * transformer index in the $transformer array @@ -198,7 +198,7 @@ class FullTransformer /** * Check if the first char of a string is a single quote * - * @param string $quoteMatch The string to check + * @param string $quoteMatch The string to check * * @return Boolean true if matches, false otherwise */ @@ -210,7 +210,7 @@ class FullTransformer /** * Replaces single quotes at the start or end of a string with two single quotes * - * @param string $quoteMatch The string to replace the quotes + * @param string $quoteMatch The string to replace the quotes * * @return string A string with the single quotes replaced */ @@ -226,7 +226,7 @@ class FullTransformer /** * Builds a chars match regular expression * - * @param string $specialChars A string of chars to build the regular expression + * @param string $specialChars A string of chars to build the regular expression * * @return string The chars match regular expression */ @@ -271,8 +271,8 @@ class FullTransformer * Calculates the Unix timestamp based on the matched values by the reverse matching regular * expression of parse() * - * @param DateTime $dateTime The DateTime object to be used to calculate the timestamp - * @param array $options An array with the matched values to be used to calculate the timestamp + * @param DateTime $dateTime The DateTime object to be used to calculate the timestamp + * @param array $options An array with the matched values to be used to calculate the timestamp * * @return Boolean|int The calculated timestamp or false if matched date is invalid */ diff --git a/src/Symfony/Component/Locale/Stub/DateFormat/HourTransformer.php b/src/Symfony/Component/Locale/Stub/DateFormat/HourTransformer.php index f2730b761a..6f5b06434c 100644 --- a/src/Symfony/Component/Locale/Stub/DateFormat/HourTransformer.php +++ b/src/Symfony/Component/Locale/Stub/DateFormat/HourTransformer.php @@ -21,8 +21,8 @@ abstract class HourTransformer extends Transformer /** * Returns a normalized hour value suitable for the hour transformer type * - * @param int $hour The hour value - * @param string $marker An optional AM/PM marker + * @param int $hour The hour value + * @param string $marker An optional AM/PM marker * * @return int The normalized hour value */ diff --git a/src/Symfony/Component/Locale/Stub/DateFormat/TimeZoneTransformer.php b/src/Symfony/Component/Locale/Stub/DateFormat/TimeZoneTransformer.php index f817ba0d21..ce37e349e8 100644 --- a/src/Symfony/Component/Locale/Stub/DateFormat/TimeZoneTransformer.php +++ b/src/Symfony/Component/Locale/Stub/DateFormat/TimeZoneTransformer.php @@ -64,7 +64,7 @@ class TimeZoneTransformer extends Transformer * Only GMT, Etc/Universal, Etc/Zulu, Etc/Greenwich, Etc/GMT-0, Etc/GMT+0 and Etc/GMT0 are old names and * are linked to Etc/GMT or Etc/UTC. * - * @param string $formattedTimeZone A GMT timezone string (GMT-03:00, e.g.) + * @param string $formattedTimeZone A GMT timezone string (GMT-03:00, e.g.) * * @return string A timezone identifier * diff --git a/src/Symfony/Component/Locale/Stub/DateFormat/Transformer.php b/src/Symfony/Component/Locale/Stub/DateFormat/Transformer.php index 93c1875037..fdeb3d9a1b 100644 --- a/src/Symfony/Component/Locale/Stub/DateFormat/Transformer.php +++ b/src/Symfony/Component/Locale/Stub/DateFormat/Transformer.php @@ -22,8 +22,8 @@ abstract class Transformer * Format a value using a configured DateTime as date/time source * * - * @param DateTime $dateTime A DateTime object to be used to generate the formatted value - * @param int $length The formatted value string length + * @param DateTime $dateTime A DateTime object to be used to generate the formatted value + * @param int $length The formatted value string length * * @return string The formatted value */ @@ -32,7 +32,7 @@ abstract class Transformer /** * Returns a reverse matching regular expression of a string generated by format() * - * @param int $length The length of the value to be reverse matched + * @param int $length The length of the value to be reverse matched * * @return string The reverse matching regular expression */ @@ -42,8 +42,8 @@ abstract class Transformer * Extract date options from a matched value returned by the processing of the reverse matching * regular expression * - * @param string $matched The matched value - * @param int $length The length of the Transformer pattern string + * @param string $matched The matched value + * @param int $length The length of the Transformer pattern string * * @return array An associative array */ @@ -52,8 +52,8 @@ abstract class Transformer /** * Pad a string with zeros to the left * - * @param string $value The string to be padded - * @param int $length The length to pad + * @param string $value The string to be padded + * @param int $length The length to pad * * @return string The padded string */ diff --git a/src/Symfony/Component/Locale/Stub/StubCollator.php b/src/Symfony/Component/Locale/Stub/StubCollator.php index 73b1d76096..13f187d928 100644 --- a/src/Symfony/Component/Locale/Stub/StubCollator.php +++ b/src/Symfony/Component/Locale/Stub/StubCollator.php @@ -58,7 +58,7 @@ class StubCollator /** * Constructor * - * @param string $locale The locale code + * @param string $locale The locale code * * @throws MethodArgumentValueNotImplementedException When $locale different than 'en' is passed */ @@ -72,7 +72,7 @@ class StubCollator /** * Static constructor * - * @param string $locale The locale code + * @param string $locale The locale code * * @throws MethodArgumentValueNotImplementedException When $locale different than 'en' is passed */ @@ -85,7 +85,7 @@ class StubCollator * Sort array maintaining index association * * @param array &$array Input array - * @param array $sortFlag Flags for sorting, can be one of the following: + * @param array $sortFlag Flags for sorting, can be one of the following: * StubCollator::SORT_REGULAR - compare items normally (don't change types) * StubCollator::SORT_NUMERIC - compare items numerically * StubCollator::SORT_STRING - compare items as strings @@ -108,8 +108,8 @@ class StubCollator /** * Compare two Unicode strings * - * @param string $str1 The first string to compare - * @param string $str2 The second string to compare + * @param string $str1 The first string to compare + * @param string $str2 The second string to compare * * @return Boolean|int Return the comparison result or false on failure: * 1 if $str1 is greater than $str2 @@ -128,7 +128,7 @@ class StubCollator /** * Get a value of an integer collator attribute * - * @param int $attr An attribute specifier, one of the attribute constants + * @param int $attr An attribute specifier, one of the attribute constants * * @return Boolean|int The attribute value on success or false on error * @@ -164,7 +164,7 @@ class StubCollator /** * Returns the collator's locale * - * @param int $type The locale name type to return between valid or actual (StubLocale::VALID_LOCALE or StubLocale::ACTUAL_LOCALE, respectively) + * @param int $type The locale name type to return between valid or actual (StubLocale::VALID_LOCALE or StubLocale::ACTUAL_LOCALE, respectively) * * @return string The locale name used to create the collator */ @@ -176,7 +176,7 @@ class StubCollator /** * Get sorting key for a string * - * @param string $string The string to produce the key from + * @param string $string The string to produce the key from * * @return string The collation key for $string * @@ -206,8 +206,8 @@ class StubCollator /** * Set a collator's attribute * - * @param int $attr An attribute specifier, one of the attribute constants - * @param int $val The attribute value, one of the attribute value constants + * @param int $attr An attribute specifier, one of the attribute constants + * @param int $val The attribute value, one of the attribute value constants * * @return Boolean True on success or false on failure * @@ -223,7 +223,7 @@ class StubCollator /** * Set the collator's strength * - * @param int $strength Strength to set, possible values: + * @param int $strength Strength to set, possible values: * StubCollator::PRIMARY * StubCollator::SECONDARY * StubCollator::TERTIARY @@ -262,7 +262,7 @@ class StubCollator * Sort array using specified collator * * @param array &$arr Array of string to sort - * @param int $sortFlag Optional sorting type, one of the following: + * @param int $sortFlag Optional sorting type, one of the following: * StubCollator::SORT_REGULAR * StubCollator::SORT_NUMERIC * StubCollator::SORT_STRING diff --git a/src/Symfony/Component/Locale/Stub/StubIntl.php b/src/Symfony/Component/Locale/Stub/StubIntl.php index 8c8648027b..c843d068ee 100644 --- a/src/Symfony/Component/Locale/Stub/StubIntl.php +++ b/src/Symfony/Component/Locale/Stub/StubIntl.php @@ -67,7 +67,7 @@ abstract class StubIntl /** * Returns whether the error code indicates a failure * - * @param integer $errorCode The error code returned by StubIntl::getErrorCode() + * @param integer $errorCode The error code returned by StubIntl::getErrorCode() * * @return Boolean */ @@ -118,8 +118,8 @@ abstract class StubIntl /** * Sets the current error * - * @param integer $code One of the error constants in this class - * @param string $message The ICU class error message + * @param integer $code One of the error constants in this class + * @param string $message The ICU class error message * * @throws \InvalidArgumentException If the code is not one of the error constants in this class */ diff --git a/src/Symfony/Component/Locale/Stub/StubIntlDateFormatter.php b/src/Symfony/Component/Locale/Stub/StubIntlDateFormatter.php index ca21c9e82c..d457440e01 100644 --- a/src/Symfony/Component/Locale/Stub/StubIntlDateFormatter.php +++ b/src/Symfony/Component/Locale/Stub/StubIntlDateFormatter.php @@ -108,13 +108,13 @@ class StubIntlDateFormatter /** * Constructor * - * @param string $locale The locale code - * @param int $datetype Type of date formatting, one of the format type constants - * @param int $timetype Type of time formatting, one of the format type constants - * @param string $timezone Timezone identifier - * @param int $calendar Calendar to use for formatting or parsing; default is Gregorian. + * @param string $locale The locale code + * @param int $datetype Type of date formatting, one of the format type constants + * @param int $timetype Type of time formatting, one of the format type constants + * @param string $timezone Timezone identifier + * @param int $calendar Calendar to use for formatting or parsing; default is Gregorian. * One of the calendar constants. - * @param string $pattern Optional pattern to use when formatting + * @param string $pattern Optional pattern to use when formatting * * @see http://www.php.net/manual/en/intldateformatter.create.php * @see http://userguide.icu-project.org/formatparse/datetime @@ -142,13 +142,13 @@ class StubIntlDateFormatter /** * Static constructor * - * @param string $locale The locale code - * @param int $datetype Type of date formatting, one of the format type constants - * @param int $timetype Type of time formatting, one of the format type constants - * @param string $timezone Timezone identifier - * @param int $calendar Calendar to use for formatting or parsing; default is Gregorian. + * @param string $locale The locale code + * @param int $datetype Type of date formatting, one of the format type constants + * @param int $timetype Type of time formatting, one of the format type constants + * @param string $timezone Timezone identifier + * @param int $calendar Calendar to use for formatting or parsing; default is Gregorian. * One of the calendar constants. - * @param string $pattern Optional pattern to use when formatting + * @param string $pattern Optional pattern to use when formatting * * @see http://www.php.net/manual/en/intldateformatter.create.php * @see http://userguide.icu-project.org/formatparse/datetime @@ -163,7 +163,7 @@ class StubIntlDateFormatter /** * Format the date/time value (timestamp) as a string * - * @param mixed $timestamp Unix timestamp to format + * @param mixed $timestamp Unix timestamp to format * * @return string The formatted value * @@ -265,7 +265,7 @@ class StubIntlDateFormatter /** * Returns the formatter's locale * - * @param int $type The locale name type to return between valid or actual (StubLocale::VALID_LOCALE or StubLocale::ACTUAL_LOCALE, respectively) + * @param int $type The locale name type to return between valid or actual (StubLocale::VALID_LOCALE or StubLocale::ACTUAL_LOCALE, respectively) * * @return string The locale name used to create the formatter * @@ -333,8 +333,8 @@ class StubIntlDateFormatter /** * Parse string to a field-based time value * - * @param string $value String to convert to a time value - * @param int $position Position at which to start the parsing in $value (zero-based). + * @param string $value String to convert to a time value + * @param int $position Position at which to start the parsing in $value (zero-based). * If no error occurs before $value is consumed, $parse_pos will * contain -1 otherwise it will contain the position at which parsing * ended. If $parse_pos > strlen($value), the parse fails immediately. @@ -353,8 +353,8 @@ class StubIntlDateFormatter /** * Parse string to a timestamp value * - * @param string $value String to convert to a time value - * @param int $position Position at which to start the parsing in $value (zero-based). + * @param string $value String to convert to a time value + * @param int $position Position at which to start the parsing in $value (zero-based). * If no error occurs before $value is consumed, $parse_pos will * contain -1 otherwise it will contain the position at which parsing * ended. If $parse_pos > strlen($value), the parse fails immediately. @@ -389,7 +389,7 @@ class StubIntlDateFormatter /** * Set the formatter's calendar * - * @param string $calendar The calendar to use. Default is IntlDateFormatter::GREGORIAN. + * @param string $calendar The calendar to use. Default is IntlDateFormatter::GREGORIAN. * * @return Boolean true on success or false on failure * @@ -410,7 +410,7 @@ class StubIntlDateFormatter * patterns, parsing as much as possible to obtain a value. Extra space, unrecognized tokens, or * invalid values ("February 30th") are not accepted. * - * @param Boolean $lenient Sets whether the parser is lenient or not, default is false (strict) + * @param Boolean $lenient Sets whether the parser is lenient or not, default is false (strict) * * @return Boolean true on success or false on failure * @@ -426,7 +426,7 @@ class StubIntlDateFormatter /** * Set the formatter's pattern * - * @param string $pattern A pattern string in conformance with the ICU IntlDateFormatter documentation + * @param string $pattern A pattern string in conformance with the ICU IntlDateFormatter documentation * * @return Boolean true on success or false on failure * @@ -445,7 +445,7 @@ class StubIntlDateFormatter /** * Set the formatter's timezone identifier * - * @param string $timeZoneId The time zone ID string of the time zone to use. + * @param string $timeZoneId The time zone ID string of the time zone to use. * If NULL or the empty string, the default time zone for the * runtime is used. * diff --git a/src/Symfony/Component/Locale/Stub/StubLocale.php b/src/Symfony/Component/Locale/Stub/StubLocale.php index 831960f21b..4adf276ca2 100644 --- a/src/Symfony/Component/Locale/Stub/StubLocale.php +++ b/src/Symfony/Component/Locale/Stub/StubLocale.php @@ -74,7 +74,7 @@ class StubLocale /** * Returns the country names for a locale * - * @param string $locale The locale to use for the country names + * @param string $locale The locale to use for the country names * * @return array The country names with their codes as keys * @@ -98,7 +98,7 @@ class StubLocale /** * Returns the language names for a locale * - * @param string $locale The locale to use for the language names + * @param string $locale The locale to use for the language names * * @return array The language names with their codes as keys * @@ -122,7 +122,7 @@ class StubLocale /** * Returns the locale names for a locale * - * @param string $locale The locale to use for the locale names + * @param string $locale The locale to use for the locale names * * @return array The locale names with their codes as keys * @@ -158,7 +158,7 @@ class StubLocale /** * Returns the currencies names for a locale * - * @param string $locale The locale to use for the currencies names + * @param string $locale The locale to use for the currencies names * * @return array The currencies names with their codes as keys * @@ -192,7 +192,7 @@ class StubLocale /** * Returns the best available locale based on HTTP "Accept-Language" header according to RFC 2616 * - * @param string $header The string containing the "Accept-Language" header value + * @param string $header The string containing the "Accept-Language" header value * * @return string The corresponding locale code * @@ -208,7 +208,7 @@ class StubLocale /** * Returns a correctly ordered and delimited locale code * - * @param array $subtags A keyed array where the keys identify the particular locale code subtag + * @param array $subtags A keyed array where the keys identify the particular locale code subtag * * @return string The corresponding locale code * @@ -224,8 +224,8 @@ class StubLocale /** * Checks if a language tag filter matches with locale * - * @param string $langtag The language tag to check - * @param string $locale The language range to check against + * @param string $langtag The language tag to check + * @param string $locale The language range to check against * @param Boolean $canonicalize * * @return string The corresponding locale code @@ -242,7 +242,7 @@ class StubLocale /** * Returns the variants for the input locale * - * @param string $locale The locale to extract the variants from + * @param string $locale The locale to extract the variants from * * @return array The locale variants * @@ -272,8 +272,8 @@ class StubLocale /** * Returns the localized display name for the locale language * - * @param string $locale The locale code to return the display language from - * @param string $inLocale Optional format locale code to use to display the language name + * @param string $locale The locale code to return the display language from + * @param string $inLocale Optional format locale code to use to display the language name * * @return string The localized language display name * @@ -289,8 +289,8 @@ class StubLocale /** * Returns the localized display name for the locale * - * @param string $locale The locale code to return the display locale name from - * @param string $inLocale Optional format locale code to use to display the locale name + * @param string $locale The locale code to return the display locale name from + * @param string $inLocale Optional format locale code to use to display the locale name * * @return string The localized locale display name * @@ -306,8 +306,8 @@ class StubLocale /** * Returns the localized display name for the locale region * - * @param string $locale The locale code to return the display region from - * @param string $inLocale Optional format locale code to use to display the region name + * @param string $locale The locale code to return the display region from + * @param string $inLocale Optional format locale code to use to display the region name * * @return string The localized region display name * @@ -323,8 +323,8 @@ class StubLocale /** * Returns the localized display name for the locale script * - * @param string $locale The locale code to return the display script from - * @param string $inLocale Optional format locale code to use to display the script name + * @param string $locale The locale code to return the display script from + * @param string $inLocale Optional format locale code to use to display the script name * * @return string The localized script display name * @@ -340,8 +340,8 @@ class StubLocale /** * Returns the localized display name for the locale variant * - * @param string $locale The locale code to return the display variant from - * @param string $inLocale Optional format locale code to use to display the variant name + * @param string $locale The locale code to return the display variant from + * @param string $inLocale Optional format locale code to use to display the variant name * * @return string The localized variant display name * @@ -357,7 +357,7 @@ class StubLocale /** * Returns the keywords for the locale * - * @param string $locale The locale code to extract the keywords from + * @param string $locale The locale code to extract the keywords from * * @return array Associative array with the extracted variants * @@ -373,7 +373,7 @@ class StubLocale /** * Returns the primary language for the locale * - * @param string $locale The locale code to extract the language code from + * @param string $locale The locale code to extract the language code from * * @return string|null The extracted language code or null in case of error * @@ -389,7 +389,7 @@ class StubLocale /** * Returns the region for the locale * - * @param string $locale The locale code to extract the region code from + * @param string $locale The locale code to extract the region code from * * @return string|null The extracted region code or null if not present * @@ -405,7 +405,7 @@ class StubLocale /** * Returns the script for the locale * - * @param string $locale The locale code to extract the script code from + * @param string $locale The locale code to extract the script code from * * @return string|null The extracted script code or null if not present * @@ -421,10 +421,10 @@ class StubLocale /** * Returns the closest language tag for the locale * - * @param array $langtag A list of the language tags to compare to locale - * @param string $locale The locale to use as the language range when matching - * @param Boolean $canonicalize If true, the arguments will be converted to canonical form before matching - * @param string $default The locale to use if no match is found + * @param array $langtag A list of the language tags to compare to locale + * @param string $locale The locale to use as the language range when matching + * @param Boolean $canonicalize If true, the arguments will be converted to canonical form before matching + * @param string $default The locale to use if no match is found * * @see http://www.php.net/manual/en/locale.lookup.php * @@ -438,7 +438,7 @@ class StubLocale /** * Returns an associative array of locale identifier subtags * - * @param string $locale The locale code to extract the subtag array from + * @param string $locale The locale code to extract the subtag array from * * @return array Associative array with the extracted subtags * @@ -454,7 +454,7 @@ class StubLocale /** * Sets the default runtime locale * - * @param string $locale The locale code + * @param string $locale The locale code * * @return Boolean true on success or false on failure * @@ -470,9 +470,9 @@ class StubLocale /** * Returns the stub ICU data * - * @param string $locale The locale code - * @param string $cacheVariable The name of a static attribute to cache the data to - * @param string $stubDataDir The stub data directory name + * @param string $locale The locale code + * @param string $cacheVariable The name of a static attribute to cache the data to + * @param string $stubDataDir The stub data directory name * * @return array * diff --git a/src/Symfony/Component/Locale/Stub/StubNumberFormatter.php b/src/Symfony/Component/Locale/Stub/StubNumberFormatter.php index 08df95e173..0890f0b4c7 100644 --- a/src/Symfony/Component/Locale/Stub/StubNumberFormatter.php +++ b/src/Symfony/Component/Locale/Stub/StubNumberFormatter.php @@ -224,9 +224,9 @@ class StubNumberFormatter /** * Constructor * - * @param string $locale The locale code - * @param int $style Style of the formatting, one of the format style constants - * @param string $pattern A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or + * @param string $locale The locale code + * @param int $style Style of the formatting, one of the format style constants + * @param string $pattern A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or * NumberFormat::PATTERN_RULEBASED. It must conform to the syntax * described in the ICU DecimalFormat or ICU RuleBasedNumberFormat documentation * @@ -260,9 +260,9 @@ class StubNumberFormatter /** * Static constructor * - * @param string $locale The locale code - * @param int $style Style of the formatting, one of the format style constants - * @param string $pattern A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or + * @param string $locale The locale code + * @param int $style Style of the formatting, one of the format style constants + * @param string $pattern A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or * NumberFormat::PATTERN_RULEBASED. It must conform to the syntax * described in the ICU DecimalFormat or ICU RuleBasedNumberFormat documentation * @@ -282,8 +282,8 @@ class StubNumberFormatter /** * Format a currency value * - * @param float $value The numeric currency value - * @param string $currency The 3-letter ISO 4217 currency code indicating the currency to use + * @param float $value The numeric currency value + * @param string $currency The 3-letter ISO 4217 currency code indicating the currency to use * * @return string The formatted currency value * @@ -317,8 +317,8 @@ class StubNumberFormatter /** * Format a number * - * @param number $value The value to format - * @param int $type Type of the formatting, one of the format type constants + * @param number $value The value to format + * @param int $type Type of the formatting, one of the format type constants * * @return Boolean|string The formatted value or false on error * @@ -362,7 +362,7 @@ class StubNumberFormatter /** * Returns an attribute value * - * @param int $attr An attribute specifier, one of the numeric attribute constants + * @param int $attr An attribute specifier, one of the numeric attribute constants * * @return Boolean|int The attribute value on success or false on error * @@ -400,7 +400,7 @@ class StubNumberFormatter /** * Returns the formatter's locale * - * @param int $type The locale name type to return between valid or actual (StubLocale::VALID_LOCALE or StubLocale::ACTUAL_LOCALE, respectively) + * @param int $type The locale name type to return between valid or actual (StubLocale::VALID_LOCALE or StubLocale::ACTUAL_LOCALE, respectively) * * @return string The locale name used to create the formatter * @@ -428,7 +428,7 @@ class StubNumberFormatter /** * Returns a formatter symbol value * - * @param int $attr A symbol specifier, one of the format symbol constants + * @param int $attr A symbol specifier, one of the format symbol constants * * @return Boolean|string The symbol value or false on error * @@ -444,7 +444,7 @@ class StubNumberFormatter /** * Returns a formatter text attribute value * - * @param int $attr An attribute specifier, one of the text attribute constants + * @param int $attr An attribute specifier, one of the text attribute constants * * @return Boolean|string The attribute value or false on error * @@ -460,9 +460,9 @@ class StubNumberFormatter /** * Parse a currency number * - * @param string $value The value to parse - * @param string $currency Parameter to receive the currency name (reference) - * @param int $position Offset to begin the parsing on return this value will hold the offset at which the parsing ended + * @param string $value The value to parse + * @param string $currency Parameter to receive the currency name (reference) + * @param int $position Offset to begin the parsing on return this value will hold the offset at which the parsing ended * * @return Boolean|string The parsed numeric value of false on error * @@ -478,9 +478,9 @@ class StubNumberFormatter /** * Parse a number * - * @param string $value The value to parse - * @param string $type Type of the formatting, one of the format type constants. NumberFormatter::TYPE_DOUBLE by default - * @param int $position Offset to begin the parsing on return this value will hold the offset at which the parsing ended + * @param string $value The value to parse + * @param string $type Type of the formatting, one of the format type constants. NumberFormatter::TYPE_DOUBLE by default + * @param int $position Offset to begin the parsing on return this value will hold the offset at which the parsing ended * * @return Boolean|string The parsed value of false on error * @@ -525,8 +525,8 @@ class StubNumberFormatter /** * Set an attribute * - * @param int $attr An attribute specifier, one of the numeric attribute constants - * @param int $value The attribute value + * @param int $attr An attribute specifier, one of the numeric attribute constants + * @param int $value The attribute value * * @return Boolean true on success or false on failure * @@ -572,7 +572,7 @@ class StubNumberFormatter /** * Set the formatter's pattern * - * @param string $pattern A pattern string in conformance with the ICU DecimalFormat documentation + * @param string $pattern A pattern string in conformance with the ICU DecimalFormat documentation * * @return Boolean true on success or false on failure * @@ -589,8 +589,8 @@ class StubNumberFormatter /** * Set the formatter's symbol * - * @param int $attr A symbol specifier, one of the format symbol constants - * @param string $value The value for the symbol + * @param int $attr A symbol specifier, one of the format symbol constants + * @param string $value The value for the symbol * * @return Boolean true on success or false on failure * @@ -606,8 +606,8 @@ class StubNumberFormatter /** * Set a text attribute * - * @param int $attr An attribute specifier, one of the text attribute constants - * @param int $value The attribute value + * @param int $attr An attribute specifier, one of the text attribute constants + * @param int $value The attribute value * * @return Boolean true on success or false on failure * @@ -640,8 +640,8 @@ class StubNumberFormatter * * The only actual rounding data as of this writing, is CHF. * - * @param float $value The numeric currency value - * @param string $currency The 3-letter ISO 4217 currency code indicating the currency to use + * @param float $value The numeric currency value + * @param string $currency The 3-letter ISO 4217 currency code indicating the currency to use * * @return string The rounded numeric currency value * @@ -668,7 +668,7 @@ class StubNumberFormatter /** * Returns the currency symbol * - * @param string $currency The 3-letter ISO 4217 currency code indicating the currency to use + * @param string $currency The 3-letter ISO 4217 currency code indicating the currency to use * * @return string The currency symbol */ @@ -682,7 +682,7 @@ class StubNumberFormatter /** * Returns the fraction digits of a currency * - * @param string $currency The 3-letter ISO 4217 currency code indicating the currency to use + * @param string $currency The 3-letter ISO 4217 currency code indicating the currency to use * * @return string The fraction digits of a currency */ @@ -696,7 +696,7 @@ class StubNumberFormatter /** * Returns the rounding increment of a currency * - * @param string $currency The 3-letter ISO 4217 currency code indicating the currency to use + * @param string $currency The 3-letter ISO 4217 currency code indicating the currency to use * * @return string The rounding increment of a currency */ @@ -710,8 +710,8 @@ class StubNumberFormatter /** * Rounds a value. * - * @param numeric $value The value to round - * @param int $precision The number of decimal digits to round to + * @param numeric $value The value to round + * @param int $precision The number of decimal digits to round to * * @return numeric The rounded value */ @@ -728,8 +728,8 @@ class StubNumberFormatter /** * Formats a number. * - * @param numeric $value The numeric value to format - * @param int $precision The number of decimal digits to use + * @param numeric $value The numeric value to format + * @param int $precision The number of decimal digits to use * * @return string The formatted number */ @@ -743,8 +743,8 @@ class StubNumberFormatter /** * Returns the precision value if the the DECIMAL style is being used and the FRACTION_DIGITS attribute is unitialized. * - * @param numeric $value The value to get the precision from if the FRACTION_DIGITS attribute is unitialized - * @param int $precision The precision value to returns if the FRACTION_DIGITS attribute is initialized + * @param numeric $value The value to get the precision from if the FRACTION_DIGITS attribute is unitialized + * @param int $precision The precision value to returns if the FRACTION_DIGITS attribute is initialized * * @return int The precision value */ @@ -767,7 +767,7 @@ class StubNumberFormatter /** * Check if the attribute is initialized (value set by client code). * - * @param string $attr The attribute name + * @param string $attr The attribute name * * @return Boolean true if the value was set by client, false otherwise */ @@ -779,8 +779,8 @@ class StubNumberFormatter /** * Returns the numeric value using the $type to convert to the right data type. * - * @param mixed $value The value to be converted - * @param int $type The type to convert. Can be TYPE_DOUBLE (float) or TYPE_INT32 (int) + * @param mixed $value The value to be converted + * @param int $type The type to convert. Can be TYPE_DOUBLE (float) or TYPE_INT32 (int) * * @return numeric The converted value */ @@ -800,7 +800,7 @@ class StubNumberFormatter /** * Convert the value data type to int or returns false if the value is out of the integer value range. * - * @param mixed $value The value to be converted + * @param mixed $value The value to be converted * * @return int The converted value */ @@ -816,7 +816,7 @@ class StubNumberFormatter /** * Convert the value data type to int or returns false if the value is out of the integer value range. * - * @param mixed $value The value to be converted + * @param mixed $value The value to be converted * * @return int|float The converted value */ @@ -840,7 +840,7 @@ class StubNumberFormatter /** * Check if the rounding mode is invalid. * - * @param int $value The rounding mode value to check + * @param int $value The rounding mode value to check * * @return Boolean true if the rounding mode is invalid, false otherwise */ @@ -857,7 +857,7 @@ class StubNumberFormatter * Returns the normalized value for the GROUPING_USED attribute. Any value that can be converted to int will be * cast to Boolean and then to int again. This way, negative values are converted to 1 and string values to 0. * - * @param mixed $value The value to be normalized + * @param mixed $value The value to be normalized * * @return int The normalized value for the attribute (0 or 1) */ @@ -870,7 +870,7 @@ class StubNumberFormatter * Returns the normalized value for the FRACTION_DIGITS attribute. The value is converted to int and if negative, * the returned value will be 0. * - * @param mixed $value The value to be normalized + * @param mixed $value The value to be normalized * * @return int The normalized value for the attribute */ diff --git a/src/Symfony/Component/OptionsResolver/LazyOption.php b/src/Symfony/Component/OptionsResolver/LazyOption.php index ba1fd8219c..adff659b40 100644 --- a/src/Symfony/Component/OptionsResolver/LazyOption.php +++ b/src/Symfony/Component/OptionsResolver/LazyOption.php @@ -35,9 +35,9 @@ class LazyOption /** * Creates a new lazy option. * - * @param Closure $closure The closure used for initializing the + * @param Closure $closure The closure used for initializing the * option value. - * @param mixed $previousValue The previous value of the option. This + * @param mixed $previousValue The previous value of the option. This * value is passed to the closure when it is * evaluated. * @@ -56,7 +56,7 @@ class LazyOption * The previous default value set in the constructor is passed as second * argument. * - * @param Options $options The container with all concrete options. + * @param Options $options The container with all concrete options. * * @return mixed The result of the closure. */ diff --git a/src/Symfony/Component/OptionsResolver/Options.php b/src/Symfony/Component/OptionsResolver/Options.php index 49c2eef62c..38227fadb4 100644 --- a/src/Symfony/Component/OptionsResolver/Options.php +++ b/src/Symfony/Component/OptionsResolver/Options.php @@ -166,7 +166,7 @@ class Options implements \ArrayAccess, \Iterator, \Countable * * If the option was a lazy option, it is evaluated now. * - * @param string $option The option name. + * @param string $option The option name. * * @return mixed The option value. * @@ -192,7 +192,7 @@ class Options implements \ArrayAccess, \Iterator, \Countable /** * Returns whether the given option exists. * - * @param string $option The option name. + * @param string $option The option name. * * @return Boolean Whether the option exists. */ @@ -263,7 +263,7 @@ class Options implements \ArrayAccess, \Iterator, \Countable /** * Equivalent to {@link has()}. * - * @param string $option The option name. + * @param string $option The option name. * * @return Boolean Whether the option exists. * @@ -277,7 +277,7 @@ class Options implements \ArrayAccess, \Iterator, \Countable /** * Equivalent to {@link get()}. * - * @param string $option The option name. + * @param string $option The option name. * * @return mixed The option value. * @@ -413,7 +413,7 @@ class Options implements \ArrayAccess, \Iterator, \Countable * Lazy option closure expect an {@link Options} instance * in their first parameter. * - * @param mixed $value The option value to test. + * @param mixed $value The option value to test. * * @return Boolean Whether it is a lazy option closure. */ diff --git a/src/Symfony/Component/OptionsResolver/OptionsResolver.php b/src/Symfony/Component/OptionsResolver/OptionsResolver.php index 4a444f2750..1ab58ec718 100644 --- a/src/Symfony/Component/OptionsResolver/OptionsResolver.php +++ b/src/Symfony/Component/OptionsResolver/OptionsResolver.php @@ -110,7 +110,7 @@ class OptionsResolver * resolve(), they will be missing in the final options array. This can be * helpful if you want to determine whether an option has been set or not. * - * @param array $optionNames A list of option names. + * @param array $optionNames A list of option names. * * @return OptionsResolver The resolver instance. * @@ -134,7 +134,7 @@ class OptionsResolver * * If these options are not passed to resolve(), an exception will be thrown. * - * @param array $optionNames A list of option names. + * @param array $optionNames A list of option names. * * @return OptionsResolver The resolver instance. * @@ -204,7 +204,7 @@ class OptionsResolver * An option is known if it has been passed to either {@link setDefaults()}, * {@link setRequired()} or {@link setOptional()} before. * - * @param string $option The name of the option. + * @param string $option The name of the option. * @return Boolean Whether the option is known. */ public function isKnown($option) @@ -219,7 +219,7 @@ class OptionsResolver * but not to {@link setDefaults()}. That is, the option has been declared * as required and no default value has been set. * - * @param string $option The name of the option. + * @param string $option The name of the option. * @return Boolean Whether the option is required. */ public function isRequired($option) @@ -230,7 +230,7 @@ class OptionsResolver /** * Returns the combination of the default and the passed options. * - * @param array $options The custom option values. + * @param array $options The custom option values. * * @return array A list of options and their values. * @@ -266,7 +266,7 @@ class OptionsResolver * Validates that the given option names exist and throws an exception * otherwise. * - * @param array $optionNames A list of option names. + * @param array $optionNames A list of option names. * * @throws InvalidOptionsException If any of the options has not been * defined. @@ -311,7 +311,7 @@ class OptionsResolver * Validates that the given option values match the allowed values and * throws an exception otherwise. * - * @param array $options A list of option values. + * @param array $options A list of option values. * * @throws InvalidOptionsException If any of the values does not match the * allowed values of the option. diff --git a/src/Symfony/Component/Routing/Generator/Dumper/GeneratorDumperInterface.php b/src/Symfony/Component/Routing/Generator/Dumper/GeneratorDumperInterface.php index 7179af291c..89a4ef3437 100644 --- a/src/Symfony/Component/Routing/Generator/Dumper/GeneratorDumperInterface.php +++ b/src/Symfony/Component/Routing/Generator/Dumper/GeneratorDumperInterface.php @@ -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 */ diff --git a/src/Symfony/Component/Routing/Generator/Dumper/PhpGeneratorDumper.php b/src/Symfony/Component/Routing/Generator/Dumper/PhpGeneratorDumper.php index 0edd6e9b65..03a0903554 100644 --- a/src/Symfony/Component/Routing/Generator/Dumper/PhpGeneratorDumper.php +++ b/src/Symfony/Component/Routing/Generator/Dumper/PhpGeneratorDumper.php @@ -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 * diff --git a/src/Symfony/Component/Routing/Loader/XmlFileLoader.php b/src/Symfony/Component/Routing/Loader/XmlFileLoader.php index 8f27b03c30..4202dd85a9 100644 --- a/src/Symfony/Component/Routing/Loader/XmlFileLoader.php +++ b/src/Symfony/Component/Routing/Loader/XmlFileLoader.php @@ -62,8 +62,8 @@ class XmlFileLoader extends FileLoader * 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) diff --git a/src/Symfony/Component/Routing/Loader/YamlFileLoader.php b/src/Symfony/Component/Routing/Loader/YamlFileLoader.php index 1f9d711f81..c76cc3d733 100644 --- a/src/Symfony/Component/Routing/Loader/YamlFileLoader.php +++ b/src/Symfony/Component/Routing/Loader/YamlFileLoader.php @@ -124,7 +124,7 @@ class YamlFileLoader extends FileLoader /** * Normalize route configuration. * - * @param array $config A resource config + * @param array $config A resource config * * @return array * diff --git a/src/Symfony/Component/Routing/Matcher/Dumper/MatcherDumperInterface.php b/src/Symfony/Component/Routing/Matcher/Dumper/MatcherDumperInterface.php index 950c396089..6822f0821f 100644 --- a/src/Symfony/Component/Routing/Matcher/Dumper/MatcherDumperInterface.php +++ b/src/Symfony/Component/Routing/Matcher/Dumper/MatcherDumperInterface.php @@ -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 */ diff --git a/src/Symfony/Component/Routing/Matcher/Dumper/PhpMatcherDumper.php b/src/Symfony/Component/Routing/Matcher/Dumper/PhpMatcherDumper.php index f589cef03c..a8e0dcb183 100644 --- a/src/Symfony/Component/Routing/Matcher/Dumper/PhpMatcherDumper.php +++ b/src/Symfony/Component/Routing/Matcher/Dumper/PhpMatcherDumper.php @@ -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 */ diff --git a/src/Symfony/Component/Routing/Matcher/RedirectableUrlMatcherInterface.php b/src/Symfony/Component/Routing/Matcher/RedirectableUrlMatcherInterface.php index 72a2ec4655..7225c81cd5 100644 --- a/src/Symfony/Component/Routing/Matcher/RedirectableUrlMatcherInterface.php +++ b/src/Symfony/Component/Routing/Matcher/RedirectableUrlMatcherInterface.php @@ -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 * diff --git a/src/Symfony/Component/Routing/Matcher/UrlMatcher.php b/src/Symfony/Component/Routing/Matcher/UrlMatcher.php index ded89e637b..d3dd78c286 100644 --- a/src/Symfony/Component/Routing/Matcher/UrlMatcher.php +++ b/src/Symfony/Component/Routing/Matcher/UrlMatcher.php @@ -74,7 +74,7 @@ class UrlMatcher implements UrlMatcherInterface /** * 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 * diff --git a/src/Symfony/Component/Routing/Matcher/UrlMatcherInterface.php b/src/Symfony/Component/Routing/Matcher/UrlMatcherInterface.php index 58c5688ad9..afccf8009e 100644 --- a/src/Symfony/Component/Routing/Matcher/UrlMatcherInterface.php +++ b/src/Symfony/Component/Routing/Matcher/UrlMatcherInterface.php @@ -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 * diff --git a/src/Symfony/Component/Routing/RequestContext.php b/src/Symfony/Component/Routing/RequestContext.php index 013d942775..7406b20439 100644 --- a/src/Symfony/Component/Routing/RequestContext.php +++ b/src/Symfony/Component/Routing/RequestContext.php @@ -250,7 +250,7 @@ class RequestContext /** * Sets a parameter value. * - * @param string $name A parameter name + * @param string $name A parameter name * @param mixed $parameter The parameter value * * @api diff --git a/src/Symfony/Component/Routing/Route.php b/src/Symfony/Component/Routing/Route.php index 05d8a74e82..f18b0ed757 100644 --- a/src/Symfony/Component/Routing/Route.php +++ b/src/Symfony/Component/Routing/Route.php @@ -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 */ @@ -314,7 +314,7 @@ class Route /** * 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 diff --git a/src/Symfony/Component/Security/Acl/Dbal/Schema.php b/src/Symfony/Component/Security/Acl/Dbal/Schema.php index 9ff3521044..0cb875581d 100644 --- a/src/Symfony/Component/Security/Acl/Dbal/Schema.php +++ b/src/Symfony/Component/Security/Acl/Dbal/Schema.php @@ -26,7 +26,7 @@ final class Schema extends BaseSchema /** * Constructor * - * @param array $options the names for tables + * @param array $options the names for tables * @param Connection $connection */ public function __construct(array $options, Connection $connection = null) diff --git a/src/Symfony/Component/Security/Acl/Domain/AclCollectionCache.php b/src/Symfony/Component/Security/Acl/Domain/AclCollectionCache.php index 33825c1c0a..be082c1186 100644 --- a/src/Symfony/Component/Security/Acl/Domain/AclCollectionCache.php +++ b/src/Symfony/Component/Security/Acl/Domain/AclCollectionCache.php @@ -45,7 +45,7 @@ class AclCollectionCache * of required queries considerably. * * @param mixed $collection anything that can be passed to foreach() - * @param array $tokens an array of TokenInterface implementations + * @param array $tokens an array of TokenInterface implementations */ public function cache($collection, array $tokens = array()) { diff --git a/src/Symfony/Component/Security/Acl/Domain/PermissionGrantingStrategy.php b/src/Symfony/Component/Security/Acl/Domain/PermissionGrantingStrategy.php index c34db2a76b..c9464cf2e3 100644 --- a/src/Symfony/Component/Security/Acl/Domain/PermissionGrantingStrategy.php +++ b/src/Symfony/Component/Security/Acl/Domain/PermissionGrantingStrategy.php @@ -127,10 +127,10 @@ class PermissionGrantingStrategy implements PermissionGrantingStrategyInterface * access finally. * * @param AclInterface $acl - * @param array $aces An array of ACE to check against - * @param array $masks An array of permission masks - * @param array $sids An array of SecurityIdentityInterface implementations - * @param Boolean $administrativeMode True turns off audit logging + * @param array $aces An array of ACE to check against + * @param array $masks An array of permission masks + * @param array $sids An array of SecurityIdentityInterface implementations + * @param Boolean $administrativeMode True turns off audit logging * @return Boolean true, or false; either granting, or denying access respectively. */ private function hasSufficientPermissions(AclInterface $acl, array $aces, array $masks, array $sids, $administrativeMode) diff --git a/src/Symfony/Component/Security/Acl/Domain/UserSecurityIdentity.php b/src/Symfony/Component/Security/Acl/Domain/UserSecurityIdentity.php index 6bc1ba18b4..040e43b749 100644 --- a/src/Symfony/Component/Security/Acl/Domain/UserSecurityIdentity.php +++ b/src/Symfony/Component/Security/Acl/Domain/UserSecurityIdentity.php @@ -30,7 +30,7 @@ final class UserSecurityIdentity implements SecurityIdentityInterface * Constructor * * @param string $username the username representation - * @param string $class the user's fully qualified class name + * @param string $class the user's fully qualified class name */ public function __construct($username, $class) { diff --git a/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php b/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php index dc993bab16..ed6e8dee47 100644 --- a/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php +++ b/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php @@ -178,7 +178,7 @@ abstract class AbstractToken implements TokenInterface /** * Returns true if the attribute exists. * - * @param string $name The attribute name + * @param string $name The attribute name * * @return Boolean true if the attribute exists, false otherwise */ diff --git a/src/Symfony/Component/Security/Core/Authentication/Token/TokenInterface.php b/src/Symfony/Component/Security/Core/Authentication/Token/TokenInterface.php index ceacf92485..3dafccc2de 100644 --- a/src/Symfony/Component/Security/Core/Authentication/Token/TokenInterface.php +++ b/src/Symfony/Component/Security/Core/Authentication/Token/TokenInterface.php @@ -100,7 +100,7 @@ interface TokenInterface extends \Serializable /** * Returns true if the attribute exists. * - * @param string $name The attribute name + * @param string $name The attribute name * * @return Boolean true if the attribute exists, false otherwise */ diff --git a/src/Symfony/Component/Security/Core/Encoder/BasePasswordEncoder.php b/src/Symfony/Component/Security/Core/Encoder/BasePasswordEncoder.php index 58c64dbbed..ae1c7d4c4d 100644 --- a/src/Symfony/Component/Security/Core/Encoder/BasePasswordEncoder.php +++ b/src/Symfony/Component/Security/Core/Encoder/BasePasswordEncoder.php @@ -47,7 +47,7 @@ abstract class BasePasswordEncoder implements PasswordEncoderInterface * Merges a password and a salt. * * @param string $password the password to be used - * @param string $salt the salt to be used + * @param string $salt the salt to be used * * @return string a merged password and salt */ diff --git a/src/Symfony/Component/Security/Http/EntryPoint/FormAuthenticationEntryPoint.php b/src/Symfony/Component/Security/Http/EntryPoint/FormAuthenticationEntryPoint.php index 2170e9ede7..2e269312d7 100644 --- a/src/Symfony/Component/Security/Http/EntryPoint/FormAuthenticationEntryPoint.php +++ b/src/Symfony/Component/Security/Http/EntryPoint/FormAuthenticationEntryPoint.php @@ -33,9 +33,9 @@ class FormAuthenticationEntryPoint implements AuthenticationEntryPointInterface * Constructor * * @param HttpKernelInterface $kernel - * @param HttpUtils $httpUtils An HttpUtils instance - * @param string $loginPath The path to the login form - * @param Boolean $useForward Whether to forward or redirect to the login form + * @param HttpUtils $httpUtils An HttpUtils instance + * @param string $loginPath The path to the login form + * @param Boolean $useForward Whether to forward or redirect to the login form */ public function __construct(HttpKernelInterface $kernel, HttpUtils $httpUtils, $loginPath, $useForward = false) { diff --git a/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php b/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php index 0e6f9451b9..c8fa581d41 100644 --- a/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php +++ b/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php @@ -65,17 +65,17 @@ abstract class AbstractAuthenticationListener implements ListenerInterface /** * Constructor. * - * @param SecurityContextInterface $securityContext A SecurityContext instance - * @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance + * @param SecurityContextInterface $securityContext A SecurityContext instance + * @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance * @param SessionAuthenticationStrategyInterface $sessionStrategy - * @param HttpUtils $httpUtils An HttpUtilsInterface instance + * @param HttpUtils $httpUtils An HttpUtilsInterface instance * @param string $providerKey - * @param array $options An array of options for the processing of a + * @param array $options An array of options for the processing of a * successful, or failed authentication attempt * @param AuthenticationSuccessHandlerInterface $successHandler * @param AuthenticationFailureHandlerInterface $failureHandler - * @param LoggerInterface $logger A LoggerInterface instance - * @param EventDispatcherInterface $dispatcher An EventDispatcherInterface instance + * @param LoggerInterface $logger A LoggerInterface instance + * @param EventDispatcherInterface $dispatcher An EventDispatcherInterface instance */ public function __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, SessionAuthenticationStrategyInterface $sessionStrategy, HttpUtils $httpUtils, $providerKey, array $options = array(), AuthenticationSuccessHandlerInterface $successHandler = null, AuthenticationFailureHandlerInterface $failureHandler = null, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null) { @@ -175,7 +175,7 @@ abstract class AbstractAuthenticationListener implements ListenerInterface /** * Performs authentication. * - * @param Request $request A Request instance + * @param Request $request A Request instance * * @return TokenInterface The authenticated token, or null if full authentication is not possible * diff --git a/src/Symfony/Component/Security/Http/Firewall/LogoutListener.php b/src/Symfony/Component/Security/Http/Firewall/LogoutListener.php index 59172dcbf5..5a0d0d62bb 100644 --- a/src/Symfony/Component/Security/Http/Firewall/LogoutListener.php +++ b/src/Symfony/Component/Security/Http/Firewall/LogoutListener.php @@ -39,10 +39,10 @@ class LogoutListener implements ListenerInterface * Constructor * * @param SecurityContextInterface $securityContext - * @param HttpUtils $httpUtils An HttpUtilsInterface instance - * @param array $options An array of options to process a logout attempt - * @param LogoutSuccessHandlerInterface $successHandler A LogoutSuccessHandlerInterface instance - * @param CsrfProviderInterface $csrfProvider A CsrfProviderInterface instance + * @param HttpUtils $httpUtils An HttpUtilsInterface instance + * @param array $options An array of options to process a logout attempt + * @param LogoutSuccessHandlerInterface $successHandler A LogoutSuccessHandlerInterface instance + * @param CsrfProviderInterface $csrfProvider A CsrfProviderInterface instance */ public function __construct(SecurityContextInterface $securityContext, HttpUtils $httpUtils, array $options = array(), LogoutSuccessHandlerInterface $successHandler = null, CsrfProviderInterface $csrfProvider = null) { diff --git a/src/Symfony/Component/Security/Http/RememberMe/AbstractRememberMeServices.php b/src/Symfony/Component/Security/Http/RememberMe/AbstractRememberMeServices.php index d61a6cec51..71f103e4a8 100644 --- a/src/Symfony/Component/Security/Http/RememberMe/AbstractRememberMeServices.php +++ b/src/Symfony/Component/Security/Http/RememberMe/AbstractRememberMeServices.php @@ -168,7 +168,7 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface * * @param Request $request * @param Response $response - * @param TokenInterface $token The token that resulted in a successful authentication + * @param TokenInterface $token The token that resulted in a successful authentication */ public final function loginSuccess(Request $request, Response $response, TokenInterface $token) { diff --git a/src/Symfony/Component/Security/Http/RememberMe/TokenBasedRememberMeServices.php b/src/Symfony/Component/Security/Http/RememberMe/TokenBasedRememberMeServices.php index 71256c7ff3..1f831d0899 100644 --- a/src/Symfony/Component/Security/Http/RememberMe/TokenBasedRememberMeServices.php +++ b/src/Symfony/Component/Security/Http/RememberMe/TokenBasedRememberMeServices.php @@ -137,9 +137,9 @@ class TokenBasedRememberMeServices extends AbstractRememberMeServices * Generates a hash for the cookie to ensure it is not being tempered with * * @param string $class - * @param string $username The username - * @param integer $expires The unixtime when the cookie expires - * @param string $password The encoded password + * @param string $username The username + * @param integer $expires The unixtime when the cookie expires + * @param string $password The encoded password * * @throws \RuntimeException when the private key is empty * diff --git a/src/Symfony/Component/Serializer/Encoder/EncoderInterface.php b/src/Symfony/Component/Serializer/Encoder/EncoderInterface.php index 05c441ed13..302db2f7c3 100644 --- a/src/Symfony/Component/Serializer/Encoder/EncoderInterface.php +++ b/src/Symfony/Component/Serializer/Encoder/EncoderInterface.php @@ -21,7 +21,7 @@ interface EncoderInterface /** * Encodes data into the given format * - * @param mixed $data Data to encode + * @param mixed $data Data to encode * @param string $format Format name * * @return scalar diff --git a/src/Symfony/Component/Serializer/Normalizer/CustomNormalizer.php b/src/Symfony/Component/Serializer/Normalizer/CustomNormalizer.php index 543f389f2e..aba4df8d4e 100644 --- a/src/Symfony/Component/Serializer/Normalizer/CustomNormalizer.php +++ b/src/Symfony/Component/Serializer/Normalizer/CustomNormalizer.php @@ -38,8 +38,8 @@ class CustomNormalizer extends SerializerAwareNormalizer implements NormalizerIn /** * Checks if the given class implements the NormalizableInterface. * - * @param mixed $data Data to normalize. - * @param string $format The format being (de-)serialized from or into. + * @param mixed $data Data to normalize. + * @param string $format The format being (de-)serialized from or into. * @return Boolean */ public function supportsNormalization($data, $format = null) @@ -50,9 +50,9 @@ class CustomNormalizer extends SerializerAwareNormalizer implements NormalizerIn /** * Checks if the given class implements the NormalizableInterface. * - * @param mixed $data Data to denormalize from. - * @param string $type The class to which the data should be denormalized. - * @param string $format The format being deserialized from. + * @param mixed $data Data to denormalize from. + * @param string $type The class to which the data should be denormalized. + * @param string $format The format being deserialized from. * @return Boolean */ public function supportsDenormalization($data, $type, $format = null) diff --git a/src/Symfony/Component/Serializer/Normalizer/DenormalizableInterface.php b/src/Symfony/Component/Serializer/Normalizer/DenormalizableInterface.php index f773734979..e53b0956c7 100644 --- a/src/Symfony/Component/Serializer/Normalizer/DenormalizableInterface.php +++ b/src/Symfony/Component/Serializer/Normalizer/DenormalizableInterface.php @@ -29,8 +29,8 @@ interface DenormalizableInterface * * @param DenormalizerInterface $denormalizer The denormalizer is given so that you * can use it to denormalize objects contained within this object. - * @param array|scalar $data The data from which to re-create the object. - * @param string|null $format The format is optionally given to be able to denormalize differently + * @param array|scalar $data The data from which to re-create the object. + * @param string|null $format The format is optionally given to be able to denormalize differently * based on different input formats. */ function denormalize(DenormalizerInterface $denormalizer, $data, $format = null); diff --git a/src/Symfony/Component/Serializer/Normalizer/DenormalizerInterface.php b/src/Symfony/Component/Serializer/Normalizer/DenormalizerInterface.php index e73de5f793..b7e73544c7 100644 --- a/src/Symfony/Component/Serializer/Normalizer/DenormalizerInterface.php +++ b/src/Symfony/Component/Serializer/Normalizer/DenormalizerInterface.php @@ -21,8 +21,8 @@ interface DenormalizerInterface /** * Denormalizes data back into an object of the given class * - * @param mixed $data data to restore - * @param string $class the expected class to instantiate + * @param mixed $data data to restore + * @param string $class the expected class to instantiate * @param string $format format the given data was extracted from * @return object */ @@ -31,9 +31,9 @@ interface DenormalizerInterface /** * Checks whether the given class is supported for denormalization by this normalizer * - * @param mixed $data Data to denormalize from. - * @param string $type The class to which the data should be denormalized. - * @param string $format The format being deserialized from. + * @param mixed $data Data to denormalize from. + * @param string $type The class to which the data should be denormalized. + * @param string $format The format being deserialized from. * @return Boolean */ function supportsDenormalization($data, $type, $format = null); diff --git a/src/Symfony/Component/Serializer/Normalizer/NormalizerInterface.php b/src/Symfony/Component/Serializer/Normalizer/NormalizerInterface.php index 8e1f605f99..4ca8609144 100644 --- a/src/Symfony/Component/Serializer/Normalizer/NormalizerInterface.php +++ b/src/Symfony/Component/Serializer/Normalizer/NormalizerInterface.php @@ -30,8 +30,8 @@ interface NormalizerInterface /** * Checks whether the given class is supported for normalization by this normalizer * - * @param mixed $data Data to normalize. - * @param string $format The format being (de-)serialized from or into. + * @param mixed $data Data to normalize. + * @param string $format The format being (de-)serialized from or into. * @return Boolean */ function supportsNormalization($data, $format = null); diff --git a/src/Symfony/Component/Serializer/Serializer.php b/src/Symfony/Component/Serializer/Serializer.php index 5f592997ad..df9dd63326 100644 --- a/src/Symfony/Component/Serializer/Serializer.php +++ b/src/Symfony/Component/Serializer/Serializer.php @@ -240,8 +240,8 @@ class Serializer implements SerializerInterface, NormalizerInterface, Denormaliz /** * Denormalizes data back into an object of the given class * - * @param mixed $data data to restore - * @param string $class the expected class to instantiate + * @param mixed $data data to restore + * @param string $class the expected class to instantiate * @param string $format format name, present to give the option to normalizers to act differently based on formats * @return object */ diff --git a/src/Symfony/Component/Serializer/SerializerInterface.php b/src/Symfony/Component/Serializer/SerializerInterface.php index ac088c68d6..546232b48d 100644 --- a/src/Symfony/Component/Serializer/SerializerInterface.php +++ b/src/Symfony/Component/Serializer/SerializerInterface.php @@ -21,7 +21,7 @@ interface SerializerInterface /** * Serializes data in the appropriate format * - * @param mixed $data any data + * @param mixed $data any data * @param string $format format name * @return string */ diff --git a/src/Symfony/Component/Templating/Helper/SlotsHelper.php b/src/Symfony/Component/Templating/Helper/SlotsHelper.php index 34b9092d04..526db04625 100644 --- a/src/Symfony/Component/Templating/Helper/SlotsHelper.php +++ b/src/Symfony/Component/Templating/Helper/SlotsHelper.php @@ -29,7 +29,7 @@ class SlotsHelper extends Helper * This method starts an output buffer that will be * closed when the stop() method is called. * - * @param string $name The slot name + * @param string $name The slot name * * @throws \InvalidArgumentException if a slot with the same name is already started * diff --git a/src/Symfony/Component/Templating/PhpEngine.php b/src/Symfony/Component/Templating/PhpEngine.php index 251c16a39f..b39c1f152e 100644 --- a/src/Symfony/Component/Templating/PhpEngine.php +++ b/src/Symfony/Component/Templating/PhpEngine.php @@ -197,7 +197,7 @@ class PhpEngine implements EngineInterface, \ArrayAccess /** * Returns true if the helper is defined. * - * @param string $name The helper name + * @param string $name The helper name * * @return Boolean true if the helper is defined, false otherwise * @@ -279,7 +279,7 @@ class PhpEngine implements EngineInterface, \ArrayAccess /** * 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 * @@ -313,7 +313,7 @@ class PhpEngine implements EngineInterface, \ArrayAccess /** * Decorates the current template with another one. * - * @param string $template The decorator logical name + * @param string $template The decorator logical name * * @api */ diff --git a/src/Symfony/Component/Templating/TemplateReference.php b/src/Symfony/Component/Templating/TemplateReference.php index c7deef1106..585bd7a2ad 100644 --- a/src/Symfony/Component/Templating/TemplateReference.php +++ b/src/Symfony/Component/Templating/TemplateReference.php @@ -38,8 +38,8 @@ class TemplateReference implements TemplateReferenceInterface /** * Sets a template parameter. * - * @param string $name The parameter name - * @param string $value The parameter value + * @param string $name The parameter name + * @param string $value The parameter value * * @return TemplateReferenceInterface The TemplateReferenceInterface instance * diff --git a/src/Symfony/Component/Templating/TemplateReferenceInterface.php b/src/Symfony/Component/Templating/TemplateReferenceInterface.php index d92cd0bf87..0f04742c44 100644 --- a/src/Symfony/Component/Templating/TemplateReferenceInterface.php +++ b/src/Symfony/Component/Templating/TemplateReferenceInterface.php @@ -32,8 +32,8 @@ interface TemplateReferenceInterface /** * Sets a template parameter. * - * @param string $name The parameter name - * @param string $value The parameter value + * @param string $name The parameter name + * @param string $value The parameter value * * @return TemplateReferenceInterface The TemplateReferenceInterface instance * diff --git a/src/Symfony/Component/Translation/Loader/ArrayLoader.php b/src/Symfony/Component/Translation/Loader/ArrayLoader.php index cecb2b6047..99058fbfbf 100644 --- a/src/Symfony/Component/Translation/Loader/ArrayLoader.php +++ b/src/Symfony/Component/Translation/Loader/ArrayLoader.php @@ -47,8 +47,8 @@ class ArrayLoader implements LoaderInterface * This function takes an array by reference and will modify it * * @param array &$messages The array that will be flattened - * @param array $subnode Current subnode being parsed, used internally for recursive calls - * @param string $path Current path being parsed, used internally for recursive calls + * @param array $subnode Current subnode being parsed, used internally for recursive calls + * @param string $path Current path being parsed, used internally for recursive calls */ private function flatten(array &$messages, array $subnode = null, $path = null) { diff --git a/src/Symfony/Component/Translation/MessageSelector.php b/src/Symfony/Component/Translation/MessageSelector.php index 0c8ff66a32..6d8f0092aa 100644 --- a/src/Symfony/Component/Translation/MessageSelector.php +++ b/src/Symfony/Component/Translation/MessageSelector.php @@ -38,9 +38,9 @@ class MessageSelector * The two methods can also be mixed: * {0} There are no apples|one: There is one apple|more: There are %count% apples * - * @param string $message The message being translated - * @param integer $number The number of items represented for the message - * @param string $locale The locale to use for choosing + * @param string $message The message being translated + * @param integer $number The number of items represented for the message + * @param string $locale The locale to use for choosing * * @return string * diff --git a/src/Symfony/Component/Translation/PluralizationRules.php b/src/Symfony/Component/Translation/PluralizationRules.php index a981f762df..9169d096ac 100644 --- a/src/Symfony/Component/Translation/PluralizationRules.php +++ b/src/Symfony/Component/Translation/PluralizationRules.php @@ -24,8 +24,8 @@ class PluralizationRules /** * Returns the plural position to use for the given locale and number. * - * @param integer $number The number - * @param string $locale The locale + * @param integer $number The number + * @param string $locale The locale * * @return integer The plural position */ diff --git a/src/Symfony/Component/Validator/ExecutionContext.php b/src/Symfony/Component/Validator/ExecutionContext.php index 41b193e747..65d8b97aff 100644 --- a/src/Symfony/Component/Validator/ExecutionContext.php +++ b/src/Symfony/Component/Validator/ExecutionContext.php @@ -53,9 +53,9 @@ class ExecutionContext /** * Adds a violation at the current node of the validation graph. * - * @param string $message The error message. - * @param array $params The parameters parsed into the error message. - * @param mixed $invalidValue The invalid, validated value. + * @param string $message The error message. + * @param array $params The parameters parsed into the error message. + * @param mixed $invalidValue The invalid, validated value. * @param integer|null $pluralization The number to use to pluralize of the message. * * @api @@ -77,10 +77,10 @@ class ExecutionContext * Adds a violation at the validation graph node with the given property * path. * - * @param string $propertyPath The property path for the violation. - * @param string $message The error message. - * @param array $params The parameters parsed into the error message. - * @param mixed $invalidValue The invalid, validated value. + * @param string $propertyPath The property path for the violation. + * @param string $message The error message. + * @param array $params The parameters parsed into the error message. + * @param mixed $invalidValue The invalid, validated value. * @param integer|null $pluralization The number to use to pluralize of the message. */ public function addViolationAtPath($propertyPath, $message, array $params = array(), $invalidValue = null, $pluralization = null) @@ -100,10 +100,10 @@ class ExecutionContext * Adds a violation at the validation graph node with the given property * path relative to the current property path. * - * @param string $subPath The relative property path for the violation. - * @param string $message The error message. - * @param array $params The parameters parsed into the error message. - * @param mixed $invalidValue The invalid, validated value. + * @param string $subPath The relative property path for the violation. + * @param string $message The error message. + * @param array $params The parameters parsed into the error message. + * @param mixed $invalidValue The invalid, validated value. * @param integer|null $pluralization The number to use to pluralize of the message. */ public function addViolationAtSubPath($subPath, $message, array $params = array(), $invalidValue = null, $pluralization = null) diff --git a/src/Symfony/Component/Validator/GraphWalker.php b/src/Symfony/Component/Validator/GraphWalker.php index 887d82cf88..d70fd3e929 100644 --- a/src/Symfony/Component/Validator/GraphWalker.php +++ b/src/Symfony/Component/Validator/GraphWalker.php @@ -54,8 +54,8 @@ class GraphWalker * instance and validation group. * * @param ClassMetadata $metadata - * @param object $object The object to validate - * @param string $group The validator group to use for validation + * @param object $object The object to validate + * @param string $group The validator group to use for validation * @param string $propertyPath */ public function walkObject(ClassMetadata $metadata, $object, $group, $propertyPath) diff --git a/src/Symfony/Component/Validator/Mapping/Loader/AbstractLoader.php b/src/Symfony/Component/Validator/Mapping/Loader/AbstractLoader.php index 959c4766d3..54c0dbe474 100644 --- a/src/Symfony/Component/Validator/Mapping/Loader/AbstractLoader.php +++ b/src/Symfony/Component/Validator/Mapping/Loader/AbstractLoader.php @@ -35,10 +35,10 @@ abstract class AbstractLoader implements LoaderInterface /** * Creates a new constraint instance for the given constraint name. * - * @param string $name The constraint name. Either a constraint relative + * @param string $name The constraint name. Either a constraint relative * to the default constraint namespace, or a fully * qualified class name - * @param array $options The constraint options + * @param array $options The constraint options * * @return Constraint * diff --git a/src/Symfony/Component/Validator/ValidatorFactory.php b/src/Symfony/Component/Validator/ValidatorFactory.php index 022ed4afa8..376219d67f 100644 --- a/src/Symfony/Component/Validator/ValidatorFactory.php +++ b/src/Symfony/Component/Validator/ValidatorFactory.php @@ -85,12 +85,12 @@ class ValidatorFactory implements ValidatorContextInterface /** * Builds a validator factory with the default mapping loaders * - * @param array $mappingFiles A list of XML or YAML file names + * @param array $mappingFiles A list of XML or YAML file names * where mapping information can be * found. Can be empty. - * @param Boolean $annotations Whether to use annotations for + * @param Boolean $annotations Whether to use annotations for * retrieving mapping information - * @param string $staticMethod The name of the static method to + * @param string $staticMethod The name of the static method to * use, if static method loading should * be enabled * @@ -154,7 +154,7 @@ class ValidatorFactory implements ValidatorContextInterface /** * Sets the given context as default context * - * @param ValidatorContextInterface $defaultContext A preconfigured context + * @param ValidatorContextInterface $defaultContext A preconfigured context */ public function __construct(ValidatorContextInterface $defaultContext = null) { @@ -165,7 +165,7 @@ class ValidatorFactory implements ValidatorContextInterface * Overrides the class metadata factory of the default context and returns * the new context * - * @param ClassMetadataFactoryInterface $metadataFactory The new factory instance + * @param ClassMetadataFactoryInterface $metadataFactory The new factory instance * * @return ValidatorContextInterface The preconfigured form context */ @@ -180,7 +180,7 @@ class ValidatorFactory implements ValidatorContextInterface * Overrides the constraint validator factory of the default context and * returns the new context * - * @param ClassMetadataFactoryInterface $validatorFactory The new factory instance + * @param ClassMetadataFactoryInterface $validatorFactory The new factory instance * * @return ValidatorContextInterface The preconfigured form context */ diff --git a/src/Symfony/Component/Validator/ValidatorInterface.php b/src/Symfony/Component/Validator/ValidatorInterface.php index 4dbff06208..adfac91952 100644 --- a/src/Symfony/Component/Validator/ValidatorInterface.php +++ b/src/Symfony/Component/Validator/ValidatorInterface.php @@ -25,7 +25,7 @@ interface ValidatorInterface /** * Validate the given object. * - * @param object $object The object to validate + * @param object $object The object to validate * @param array|null $groups The validator groups to use for validating * * @return ConstraintViolationList @@ -37,9 +37,9 @@ interface ValidatorInterface /** * Validate a single property of an object against its current value. * - * @param object $object The object to validate - * @param string $property The name of the property to validate - * @param array|null $groups The validator groups to use for validating + * @param object $object The object to validate + * @param string $property The name of the property to validate + * @param array|null $groups The validator groups to use for validating * * @return ConstraintViolationList * @@ -50,10 +50,10 @@ interface ValidatorInterface /** * Validate a single property of an object against the given value. * - * @param string $class The class on which the property belongs - * @param string $property The name of the property to validate + * @param string $class The class on which the property belongs + * @param string $property The name of the property to validate * @param string $value - * @param array|null $groups The validator groups to use for validating + * @param array|null $groups The validator groups to use for validating * * @return ConstraintViolationList * @@ -64,9 +64,9 @@ interface ValidatorInterface /** * Validates a given value against a specific Constraint. * - * @param mixed $value The value to validate + * @param mixed $value The value to validate * @param Constraint $constraint The constraint to validate against - * @param array|null $groups The validator groups to use for validating + * @param array|null $groups The validator groups to use for validating * * @return ConstraintViolationList * diff --git a/src/Symfony/Component/Yaml/Dumper.php b/src/Symfony/Component/Yaml/Dumper.php index 97ec9d2c5f..2338916985 100644 --- a/src/Symfony/Component/Yaml/Dumper.php +++ b/src/Symfony/Component/Yaml/Dumper.php @@ -21,9 +21,9 @@ class Dumper /** * Dumps a PHP value to YAML. * - * @param mixed $input The PHP value - * @param integer $inline The level where you switch to inline YAML - * @param integer $indent The level of indentation (used internally) + * @param mixed $input The PHP value + * @param integer $inline The level where you switch to inline YAML + * @param integer $indent The level of indentation (used internally) * * @return string The YAML representation of the PHP value */ diff --git a/src/Symfony/Component/Yaml/Parser.php b/src/Symfony/Component/Yaml/Parser.php index fe80c0bd98..76d1926b94 100644 --- a/src/Symfony/Component/Yaml/Parser.php +++ b/src/Symfony/Component/Yaml/Parser.php @@ -38,7 +38,7 @@ class Parser /** * Parses a YAML string to a PHP value. * - * @param string $value A YAML string + * @param string $value A YAML string * * @return mixed A PHP value * @@ -349,7 +349,7 @@ class Parser /** * Parses a YAML value. * - * @param string $value A YAML value + * @param string $value A YAML value * * @return mixed A PHP value * @@ -390,9 +390,9 @@ class Parser /** * Parses a folded scalar. * - * @param string $separator The separator that was used to begin this folded scalar (| or >) - * @param string $indicator The indicator that was used to begin this folded scalar (+ or -) - * @param integer $indentation The indentation that was used to begin this folded scalar + * @param string $separator The separator that was used to begin this folded scalar (| or >) + * @param string $indicator The indicator that was used to begin this folded scalar (+ or -) + * @param integer $indentation The indentation that was used to begin this folded scalar * * @return string The text value */ @@ -525,7 +525,7 @@ class Parser /** * Cleanups a YAML string to be parsed. * - * @param string $value The input YAML string + * @param string $value The input YAML string * * @return string A cleaned up YAML string */ diff --git a/src/Symfony/Component/Yaml/Tests/Fixtures/sfTests.yml b/src/Symfony/Component/Yaml/Tests/Fixtures/sfTests.yml index 7a54f1639b..aa6cabcfe9 100644 --- a/src/Symfony/Component/Yaml/Tests/Fixtures/sfTests.yml +++ b/src/Symfony/Component/Yaml/Tests/Fixtures/sfTests.yml @@ -60,7 +60,7 @@ yaml: | foo - + bar php: | array('foo' => array('bar' => "foo\n\n\n \nbar\n")) diff --git a/src/Symfony/Component/Yaml/Yaml.php b/src/Symfony/Component/Yaml/Yaml.php index cd30b0f7dd..29e941343e 100644 --- a/src/Symfony/Component/Yaml/Yaml.php +++ b/src/Symfony/Component/Yaml/Yaml.php @@ -95,7 +95,7 @@ class Yaml * The dump method, when supplied with an array, will do its best * to convert the array into friendly YAML. * - * @param array $array PHP array + * @param array $array PHP array * @param integer $inline The level where you switch to inline YAML * * @return string A YAML string representing the original PHP array