Pascal Borreli 14 роки тому
батько
коміт
824e48efa7
23 змінених файлів з 42 додано та 34 видалено
  1. 1 0
      src/Symfony/Bundle/AsseticBundle/Command/DumpCommand.php
  2. 1 0
      src/Symfony/Bundle/DoctrineBundle/Command/Proxy/DoctrineCommandHelper.php
  3. 1 1
      src/Symfony/Bundle/DoctrineBundle/ConnectionFactory.php
  4. 1 0
      src/Symfony/Bundle/SwiftmailerBundle/DataCollector/MessageDataCollector.php
  5. 2 2
      src/Symfony/Bundle/TwigBundle/CacheWarmer/TemplateCacheCacheWarmer.php
  6. 1 1
      src/Symfony/Bundle/TwigBundle/TokenParser/RenderTokenParser.php
  7. 4 3
      src/Symfony/Component/Config/Loader/FileLoader.php
  8. 2 2
      src/Symfony/Component/Console/Helper/HelperSet.php
  9. 1 1
      src/Symfony/Component/Console/Input/InputInterface.php
  10. 1 1
      src/Symfony/Component/DependencyInjection/Compiler/ResolveInvalidReferencesPass.php
  11. 3 2
      src/Symfony/Component/DependencyInjection/Dumper/XmlDumper.php
  12. 1 1
      src/Symfony/Component/DependencyInjection/Loader/IniFileLoader.php
  13. 1 1
      src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
  14. 2 2
      src/Symfony/Component/Form/CallbackTransformer.php
  15. 0 1
      src/Symfony/Component/Form/FormFactory.php
  16. 0 1
      src/Symfony/Component/Form/FormFactoryInterface.php
  17. 1 1
      src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php
  18. 2 2
      src/Symfony/Component/HttpKernel/HttpKernel.php
  19. 1 1
      src/Symfony/Component/Security/Acl/Domain/AuditLogger.php
  20. 3 3
      src/Symfony/Component/Security/Acl/Model/PermissionGrantingStrategyInterface.php
  21. 2 2
      src/Symfony/Component/Security/Core/Authentication/Token/RememberMeToken.php
  22. 10 5
      src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php
  23. 1 1
      src/Symfony/Component/Templating/Helper/AssetsHelper.php

+ 1 - 0
src/Symfony/Bundle/AsseticBundle/Command/DumpCommand.php

@@ -76,6 +76,7 @@ class DumpCommand extends Command
      * This method includes an infinite loop the continuously polls the asset
      * manager for changes.
      *
+     * @param InputInterface  $input  The command input
      * @param OutputInterface $output The command output
      */
     private function watch(InputInterface $input, OutputInterface $output)

+ 1 - 0
src/Symfony/Bundle/DoctrineBundle/Command/Proxy/DoctrineCommandHelper.php

@@ -26,6 +26,7 @@ abstract class DoctrineCommandHelper
     /**
      * Convenience method to push the helper sets of a given entity manager into the application.
      *
+     * @param Application $application
      * @param string      $emName
      */
     static public function setApplicationEntityManager(Application $application, $emName)

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/ConnectionFactory.php

@@ -38,7 +38,7 @@ class ConnectionFactory
     /**
      * Create a connection by name.
      *
-     * @param string        $connectionName
+     * @param array         $params
      * @param Configuration $config
      * @param EventManager  $eventManager
      *

+ 1 - 0
src/Symfony/Bundle/SwiftmailerBundle/DataCollector/MessageDataCollector.php

@@ -34,6 +34,7 @@ class MessageDataCollector extends DataCollector
      * to avoid the creation of these objects when no emails are sent.
      *
      * @param ContainerInterface $container A ContainerInterface instance
+     * @param Boolean            $isSpool
      */
     public function __construct(ContainerInterface $container, $isSpool)
     {

+ 2 - 2
src/Symfony/Bundle/TwigBundle/CacheWarmer/TemplateCacheCacheWarmer.php

@@ -32,8 +32,8 @@ class TemplateCacheCacheWarmer implements CacheWarmerInterface
     /**
      * Constructor.
      *
-     * @param ContainerInterface        $container The dependency injection container
-     * @param TemplatePathsCacheWarmer  $warmer    The template paths cache warmer
+     * @param ContainerInterface $container The dependency injection container
+     * @param TemplateFinder     $finder    The template paths cache warmer
      */
     public function __construct(ContainerInterface $container, TemplateFinder $finder)
     {

+ 1 - 1
src/Symfony/Bundle/TwigBundle/TokenParser/RenderTokenParser.php

@@ -59,7 +59,7 @@ class RenderTokenParser extends \Twig_TokenParser
     /**
      * Gets the tag name associated with this token parser.
      *
-     * @param string The tag name
+     * @return string The tag name
      */
     public function getTag()
     {

+ 4 - 3
src/Symfony/Component/Config/Loader/FileLoader.php

@@ -48,9 +48,10 @@ abstract class FileLoader extends Loader
     /**
      * Adds definitions and parameters from a resource.
      *
-     * @param mixed   $resource     A Resource
-     * @param string  $type         The resource type
-     * @param Boolean $ignoreErrors Whether to ignore import errors or not
+     * @param mixed   $resource       A Resource
+     * @param string  $type           The resource type
+     * @param Boolean $ignoreErrors   Whether to ignore import errors or not
+     * @param string  $sourceResource The original resource importing the new resource
      *
      * @return mixed
      */

+ 2 - 2
src/Symfony/Component/Console/Helper/HelperSet.php

@@ -37,8 +37,8 @@ class HelperSet
     /**
      * Sets a helper.
      *
-     * @param HelperInterface $value The helper instance
-     * @param string          $alias An alias
+     * @param HelperInterface $helper The helper instance
+     * @param string          $alias  An alias
      */
     public function set(HelperInterface $helper, $alias = null)
     {

+ 1 - 1
src/Symfony/Component/Console/Input/InputInterface.php

@@ -31,7 +31,7 @@ interface InputInterface
      * This method is to be used to introspect the input parameters
      * before it has been validated. It must be used carefully.
      *
-     * @param string|array $value The values to look for in the raw parameters (can be an array)
+     * @param string|array $values The values to look for in the raw parameters (can be an array)
      *
      * @return Boolean true if the value is contained in the raw parameters
      */

+ 1 - 1
src/Symfony/Component/DependencyInjection/Compiler/ResolveInvalidReferencesPass.php

@@ -68,7 +68,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)

+ 3 - 2
src/Symfony/Component/DependencyInjection/Dumper/XmlDumper.php

@@ -212,9 +212,10 @@ class XmlDumper extends Dumper
     /**
      * Converts parameters.
      *
-     * @param array $parameters
-     * @param string $type
+     * @param array      $parameters
+     * @param string     $type
      * @param DOMElement $parent
+     * @param string     $keyAttribute
      * @return void
      */
     private function convertParameters($parameters, $type, \DOMElement $parent, $keyAttribute = 'key')

+ 1 - 1
src/Symfony/Component/DependencyInjection/Loader/IniFileLoader.php

@@ -24,7 +24,7 @@ class IniFileLoader extends FileLoader
     /**
      * Loads a resource.
      *
-     * @param mixed  $resource The resource
+     * @param mixed  $file     The resource
      * @param string $type     The resource type
      *
      * @throws \InvalidArgumentException When ini file is not valid

+ 1 - 1
src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php

@@ -31,7 +31,7 @@ class XmlFileLoader extends FileLoader
     /**
      * Loads an XML file.
      *
-     * @param mixed  $resource The resource
+     * @param mixed  $file The resource
      * @param string $type The resource type
      */
     public function load($file, $type = null)

+ 2 - 2
src/Symfony/Component/Form/CallbackTransformer.php

@@ -40,7 +40,7 @@ class CallbackTransformer implements DataTransformerInterface
     /**
      * Transforms a value from the original representation to a transformed representation.
      *
-     * @param  mixed $value              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 $value              The value in the transformed representation
+     * @param  mixed $data               The value in the transformed representation
      *
      * @return mixed                     The value in the original representation
      *

+ 0 - 1
src/Symfony/Component/Form/FormFactory.php

@@ -178,7 +178,6 @@ 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
      *

+ 0 - 1
src/Symfony/Component/Form/FormFactoryInterface.php

@@ -60,7 +60,6 @@ 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
      *

+ 1 - 1
src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php

@@ -256,7 +256,7 @@ class HttpCache implements HttpKernelInterface
      * it triggers "miss" processing.
      *
      * @param Request $request A Request instance
-     * @param Boolean  $catch   whether to process exceptions
+     * @param Boolean $catch   whether to process exceptions
      *
      * @return Response A Response instance
      */

+ 2 - 2
src/Symfony/Component/HttpKernel/HttpKernel.php

@@ -137,8 +137,8 @@ class HttpKernel implements HttpKernelInterface
      * Filters a response object.
      *
      * @param Response $response A Response instance
-     * @param string   $message A error message in case the response is not a Response object
-     * @param integer  $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
+     * @param Request  $request  A error message in case the response is not a Response object
+     * @param integer  $type     The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
      *
      * @return Response The filtered Response instance
      *

+ 1 - 1
src/Symfony/Component/Security/Acl/Domain/AuditLogger.php

@@ -45,7 +45,7 @@ abstract class AuditLogger implements AuditLoggerInterface
     /**
      * This method is only called when logging is needed
      *
-     * @param Boolean $granted
+     * @param Boolean        $granted
      * @param EntryInterface $ace
      * @return void
      */

+ 3 - 3
src/Symfony/Component/Security/Acl/Model/PermissionGrantingStrategyInterface.php

@@ -22,9 +22,9 @@ interface PermissionGrantingStrategyInterface
      * Determines whether access to a domain object is to be granted
      *
      * @param AclInterface $acl
-     * @param array $masks
-     * @param array $sids
-     * @param Boolean $administrativeMode
+     * @param array        $masks
+     * @param array        $sids
+     * @param Boolean      $administrativeMode
      * @return Boolean
      */
     function isGranted(AclInterface $acl, array $masks, array $sids, $administrativeMode = false);

+ 2 - 2
src/Symfony/Component/Security/Core/Authentication/Token/RememberMeToken.php

@@ -27,8 +27,8 @@ class RememberMeToken extends AbstractToken
      * Constructor.
      *
      * @param UserInterface $user
-     * @param string $providerKey
-     * @param string $key
+     * @param string        $providerKey
+     * @param string        $key
      */
     public function __construct(UserInterface $user, $providerKey, $key) {
         parent::__construct($user->getRoles());

+ 10 - 5
src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php

@@ -63,11 +63,16 @@ abstract class AbstractAuthenticationListener implements ListenerInterface
     /**
      * Constructor.
      *
-     * @param SecurityContextInterface       $securityContext       A SecurityContext instance
-     * @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
-     * @param array                          $options               An array of options for the processing of a successful, or failed authentication attempt
-     * @param LoggerInterface                $logger                A LoggerInterface instance
-     * @param EventDispatcherInterface       $dispatcher            An EventDispatcherInterface instance
+     * @param SecurityContextInterface               $securityContext       A SecurityContext instance
+     * @param AuthenticationManagerInterface         $authenticationManager An AuthenticationManagerInterface instance
+     * @param SessionAuthenticationStrategyInterface $sessionStrategy
+     * @param string                                 $providerKey
+     * @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
      */
     public function __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, SessionAuthenticationStrategyInterface $sessionStrategy, $providerKey, array $options = array(), AuthenticationSuccessHandlerInterface $successHandler = null, AuthenticationFailureHandlerInterface $failureHandler = null, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)
     {

+ 1 - 1
src/Symfony/Component/Templating/Helper/AssetsHelper.php

@@ -35,7 +35,7 @@ class AssetsHelper extends Helper implements AssetPackageInterface
      * Constructor.
      *
      * @param string       $basePath The base path
-     * @param string|array $baseURLs The domain URL or an array of domain URLs
+     * @param string|array $baseUrls The domain URL or an array of domain URLs
      * @param string       $version  The version
      * @param array        $packages Asset packages indexed by name
      */