Skip to content

Commit 22e3427

Browse files
committed
fixed CS
1 parent 24dd1a9 commit 22e3427

33 files changed

+78
-78
lines changed

src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ abstract class AbstractDoctrineExtension extends Extension
3535
protected $drivers = [];
3636

3737
/**
38-
* @param array $objectManager A configured object manager
38+
* @param array $objectManager A configured object manager
3939
*
4040
* @throws \InvalidArgumentException
4141
*/

src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class HttpCache extends BaseHttpCache
2929
protected $kernel;
3030

3131
/**
32-
* @param string $cacheDir The cache directory (default used if null)
32+
* @param string $cacheDir The cache directory (default used if null)
3333
*/
3434
public function __construct(KernelInterface $kernel, string $cacheDir = null)
3535
{
@@ -42,8 +42,8 @@ public function __construct(KernelInterface $kernel, string $cacheDir = null)
4242
/**
4343
* Forwards the Request to the backend and returns the Response.
4444
*
45-
* @param bool $raw Whether to catch exceptions or not
46-
* @param Response $entry A Response instance (the stale entry if present, null otherwise)
45+
* @param bool $raw Whether to catch exceptions or not
46+
* @param Response $entry A Response instance (the stale entry if present, null otherwise)
4747
*
4848
* @return Response A Response instance
4949
*/

src/Symfony/Bundle/FrameworkBundle/Routing/Router.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ class Router extends BaseRouter implements WarmableInterface, ServiceSubscriberI
3636
private $paramFetcher;
3737

3838
/**
39-
* @param mixed $resource The main resource to load
40-
* @param array $options An array of options
39+
* @param mixed $resource The main resource to load
40+
* @param array $options An array of options
4141
*/
4242
public function __construct(ContainerInterface $container, $resource, array $options = [], RequestContext $context = null, ContainerInterface $parameters = null, LoggerInterface $logger = null, string $defaultLocale = null)
4343
{

src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ class Translator extends BaseTranslator implements WarmableInterface
6565
* * debug: Whether to enable debugging or not (false by default)
6666
* * resource_files: List of translation resources available grouped by locale.
6767
*
68-
* @param string $defaultLocale
69-
* @param array $loaderIds An array of loader Ids
70-
* @param array $options An array of options
68+
* @param string $defaultLocale
69+
* @param array $loaderIds An array of loader Ids
70+
* @param array $options An array of options
7171
*
7272
* @throws InvalidArgumentException
7373
*/

src/Symfony/Bundle/TwigBundle/TemplateIterator.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ class TemplateIterator implements \IteratorAggregate
2929
private $defaultPath;
3030

3131
/**
32-
* @param array $paths Additional Twig paths to warm
33-
* @param string|null $defaultPath The directory where global templates can be stored
32+
* @param array $paths Additional Twig paths to warm
33+
* @param string|null $defaultPath The directory where global templates can be stored
3434
*/
3535
public function __construct(KernelInterface $kernel, array $paths = [], string $defaultPath = null)
3636
{

src/Symfony/Bundle/WebProfilerBundle/DependencyInjection/WebProfilerExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class WebProfilerExtension extends Extension
3636
/**
3737
* Loads the web profiler configuration.
3838
*
39-
* @param array $configs An array of configuration settings
39+
* @param array $configs An array of configuration settings
4040
*/
4141
public function load(array $configs, ContainerBuilder $container)
4242
{

src/Symfony/Component/BrowserKit/AbstractBrowser.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ protected function getAbsoluteUri(string $uri)
682682
/**
683683
* Makes a request from a Request object directly.
684684
*
685-
* @param bool $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
685+
* @param bool $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
686686
*
687687
* @return Crawler
688688
*/

src/Symfony/Component/Console/Helper/ProgressBar.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ final class ProgressBar
5252
private static $formats;
5353

5454
/**
55-
* @param int $max Maximum steps (0 if unknown)
55+
* @param int $max Maximum steps (0 if unknown)
5656
*/
5757
public function __construct(OutputInterface $output, int $max = 0, float $minSecondsBetweenRedraws = 0.1)
5858
{

src/Symfony/Component/Console/Helper/QuestionHelper.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@ private function mostRecentlyEnteredValue(string $entered)
353353
/**
354354
* Gets a hidden response from user.
355355
*
356-
* @param resource $inputStream The handler resource
357-
* @param bool $trimmable Is the answer trimmable
356+
* @param resource $inputStream The handler resource
357+
* @param bool $trimmable Is the answer trimmable
358358
*
359359
* @throws RuntimeException In case the fallback is deactivated and the response cannot be hidden
360360
*/
@@ -415,7 +415,7 @@ private function getHiddenResponse(OutputInterface $output, $inputStream, bool $
415415
/**
416416
* Validates an attempt.
417417
*
418-
* @param callable $interviewer A callable that will ask for a question and return the result
418+
* @param callable $interviewer A callable that will ask for a question and return the result
419419
*
420420
* @return mixed The validated response
421421
*

src/Symfony/Component/ErrorHandler/FatalErrorHandler/FatalErrorHandlerInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface FatalErrorHandlerInterface
2323
/**
2424
* Attempts to convert an error into an exception.
2525
*
26-
* @param array $error An array as returned by error_get_last()
26+
* @param array $error An array as returned by error_get_last()
2727
*
2828
* @return FatalErrorException|null A FatalErrorException instance if the class is able to convert the error, null otherwise
2929
*/

src/Symfony/Component/HttpKernel/Config/FileLocator.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class FileLocator extends BaseFileLocator
2525
private $path;
2626

2727
/**
28-
* @param string|null $path The path the global resource directory
29-
* @param array $paths An array of paths where to look for resources
28+
* @param string|null $path The path the global resource directory
29+
* @param array $paths An array of paths where to look for resources
3030
*/
3131
public function __construct(KernelInterface $kernel, string $path = null, array $paths = [])
3232
{

src/Symfony/Component/HttpKernel/EventListener/FragmentListener.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class FragmentListener implements EventSubscriberInterface
3737
private $fragmentPath;
3838

3939
/**
40-
* @param string $fragmentPath The path that triggers this listener
40+
* @param string $fragmentPath The path that triggers this listener
4141
*/
4242
public function __construct(UriSigner $signer, string $fragmentPath = '/_fragment')
4343
{

src/Symfony/Component/HttpKernel/EventListener/ProfilerListener.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ class ProfilerListener implements EventSubscriberInterface
3939
protected $parents;
4040

4141
/**
42-
* @param bool $onlyException True if the profiler only collects data when an exception occurs, false otherwise
43-
* @param bool $onlyMasterRequests True if the profiler only collects data when the request is a master request, false otherwise
42+
* @param bool $onlyException True if the profiler only collects data when an exception occurs, false otherwise
43+
* @param bool $onlyMasterRequests True if the profiler only collects data when the request is a master request, false otherwise
4444
*/
4545
public function __construct(Profiler $profiler, RequestStack $requestStack, RequestMatcherInterface $matcher = null, bool $onlyException = false, bool $onlyMasterRequests = false)
4646
{

src/Symfony/Component/HttpKernel/EventListener/RouterListener.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ class RouterListener implements EventSubscriberInterface
5050
private $debug;
5151

5252
/**
53-
* @param UrlMatcherInterface|RequestMatcherInterface $matcher The Url or Request matcher
54-
* @param RequestContext|null $context The RequestContext (can be null when $matcher implements RequestContextAwareInterface)
55-
* @param LoggerInterface|null $logger The logger
53+
* @param UrlMatcherInterface|RequestMatcherInterface $matcher The Url or Request matcher
54+
* @param RequestContext|null $context The RequestContext (can be null when $matcher implements RequestContextAwareInterface)
55+
* @param LoggerInterface|null $logger The logger
5656
* @param string $projectDir
5757
* @param bool $debug
5858
*

src/Symfony/Component/HttpKernel/Fragment/RoutableFragmentRenderer.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public function setFragmentPath($path)
3939
/**
4040
* Generates a fragment URI for a given controller.
4141
*
42-
* @param bool $absolute Whether to generate an absolute URL or not
43-
* @param bool $strict Whether to allow non-scalar attributes or not
42+
* @param bool $absolute Whether to generate an absolute URL or not
43+
* @param bool $strict Whether to allow non-scalar attributes or not
4444
*
4545
* @return string A fragment URI
4646
*/

src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public function terminate(Request $request, Response $response)
256256
/**
257257
* Forwards the Request to the backend without storing the Response in the cache.
258258
*
259-
* @param bool $catch Whether to process exceptions
259+
* @param bool $catch Whether to process exceptions
260260
*
261261
* @return Response A Response instance
262262
*/
@@ -270,7 +270,7 @@ protected function pass(Request $request, $catch = false)
270270
/**
271271
* Invalidates non-safe methods (like POST, PUT, and DELETE).
272272
*
273-
* @param bool $catch Whether to process exceptions
273+
* @param bool $catch Whether to process exceptions
274274
*
275275
* @return Response A Response instance
276276
*
@@ -318,7 +318,7 @@ protected function invalidate(Request $request, $catch = false)
318318
* the backend using conditional GET. When no matching cache entry is found,
319319
* it triggers "miss" processing.
320320
*
321-
* @param bool $catch Whether to process exceptions
321+
* @param bool $catch Whether to process exceptions
322322
*
323323
* @return Response A Response instance
324324
*
@@ -363,7 +363,7 @@ protected function lookup(Request $request, $catch = false)
363363
* The original request is used as a template for a conditional
364364
* GET request with the backend.
365365
*
366-
* @param bool $catch Whether to process exceptions
366+
* @param bool $catch Whether to process exceptions
367367
*
368368
* @return Response A Response instance
369369
*/
@@ -424,7 +424,7 @@ protected function validate(Request $request, Response $entry, $catch = false)
424424
* Unconditionally fetches a fresh response from the backend and
425425
* stores it in the cache if is cacheable.
426426
*
427-
* @param bool $catch Whether to process exceptions
427+
* @param bool $catch Whether to process exceptions
428428
*
429429
* @return Response A Response instance
430430
*/
@@ -456,8 +456,8 @@ protected function fetch(Request $request, $catch = false)
456456
* All backend requests (cache passes, fetches, cache validations)
457457
* run through this method.
458458
*
459-
* @param bool $catch Whether to catch exceptions or not
460-
* @param Response $entry A Response instance (the stale entry if present, null otherwise)
459+
* @param bool $catch Whether to catch exceptions or not
460+
* @param Response $entry A Response instance (the stale entry if present, null otherwise)
461461
*
462462
* @return Response A Response instance
463463
*/

src/Symfony/Component/HttpKernel/HttpCache/SurrogateInterface.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ public function process(Request $request, Response $response);
7878
/**
7979
* Handles a Surrogate from the cache.
8080
*
81-
* @param string $uri The main URI
82-
* @param string $alt An alternative URI
83-
* @param bool $ignoreErrors Whether to ignore errors or not
81+
* @param string $uri The main URI
82+
* @param string $alt An alternative URI
83+
* @param bool $ignoreErrors Whether to ignore errors or not
8484
*
8585
* @return string
8686
*

src/Symfony/Component/HttpKernel/HttpKernel.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function terminateWithException(\Exception $exception, Request $request =
109109
*
110110
* Exceptions are not caught.
111111
*
112-
* @param int $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
112+
* @param int $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
113113
*
114114
* @return Response A Response instance
115115
*
@@ -173,8 +173,8 @@ private function handleRaw(Request $request, int $type = self::MASTER_REQUEST)
173173
/**
174174
* Filters a response object.
175175
*
176-
* @param Request $request An error message in case the response is not a Response object
177-
* @param int $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
176+
* @param Request $request An error message in case the response is not a Response object
177+
* @param int $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
178178
*
179179
* @return Response The filtered Response instance
180180
*
@@ -207,8 +207,8 @@ private function finishRequest(Request $request, int $type)
207207
/**
208208
* Handles an exception by trying to convert it to a Response.
209209
*
210-
* @param \Exception $e An \Exception instance
211-
* @param int $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
210+
* @param \Exception $e An \Exception instance
211+
* @param int $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
212212
*
213213
* @throws \Exception
214214
*/

src/Symfony/Component/HttpKernel/HttpKernelBrowser.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ class HttpKernelBrowser extends AbstractBrowser
3434
private $catchExceptions = true;
3535

3636
/**
37-
* @param array $server The server parameters (equivalent of $_SERVER)
38-
* @param History $history A History instance to store the browser history
39-
* @param CookieJar $cookieJar A CookieJar instance to store the cookies
37+
* @param array $server The server parameters (equivalent of $_SERVER)
38+
* @param History $history A History instance to store the browser history
39+
* @param CookieJar $cookieJar A CookieJar instance to store the cookies
4040
*/
4141
public function __construct(HttpKernelInterface $kernel, array $server = [], History $history = null, CookieJar $cookieJar = null)
4242
{

src/Symfony/Component/HttpKernel/HttpKernelInterface.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ interface HttpKernelInterface
3030
* When $catch is true, the implementation must catch all exceptions
3131
* and do its best to convert them to a Response instance.
3232
*
33-
* @param int $type The type of the request
34-
* (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
35-
* @param bool $catch Whether to catch exceptions or not
33+
* @param int $type The type of the request
34+
* (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
35+
* @param bool $catch Whether to catch exceptions or not
3636
*
3737
* @return Response A Response instance
3838
*

src/Symfony/Component/Routing/Loader/YamlFileLoader.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ public function supports($resource, $type = null)
101101
/**
102102
* Parses a route and adds it to the RouteCollection.
103103
*
104-
* @param string $name Route name
105-
* @param array $config Route definition
106-
* @param string $path Full path of the YAML file being processed
104+
* @param string $name Route name
105+
* @param array $config Route definition
106+
* @param string $path Full path of the YAML file being processed
107107
*/
108108
protected function parseRoute(RouteCollection $collection, $name, array $config, $path)
109109
{
@@ -153,9 +153,9 @@ protected function parseRoute(RouteCollection $collection, $name, array $config,
153153
/**
154154
* Parses an import and adds the routes in the resource to the RouteCollection.
155155
*
156-
* @param array $config Route definition
157-
* @param string $path Full path of the YAML file being processed
158-
* @param string $file Loaded file name
156+
* @param array $config Route definition
157+
* @param string $path Full path of the YAML file being processed
158+
* @param string $file Loaded file name
159159
*/
160160
protected function parseImport(RouteCollection $collection, array $config, $path, $file)
161161
{

src/Symfony/Component/Routing/Router.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ class Router implements RouterInterface, RequestMatcherInterface
9393
private $expressionLanguageProviders = [];
9494

9595
/**
96-
* @param mixed $resource The main resource to load
97-
* @param array $options An array of options
96+
* @param mixed $resource The main resource to load
97+
* @param array $options An array of options
9898
*/
9999
public function __construct(LoaderInterface $loader, $resource, array $options = [], RequestContext $context = null, LoggerInterface $logger = null, string $defaultLocale = null)
100100
{

src/Symfony/Component/Security/Core/Authorization/AccessDecisionManagerInterface.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ interface AccessDecisionManagerInterface
2323
/**
2424
* Decides whether the access is possible or not.
2525
*
26-
* @param array $attributes An array of attributes associated with the method being invoked
27-
* @param object $object The object to secure
26+
* @param array $attributes An array of attributes associated with the method being invoked
27+
* @param object $object The object to secure
2828
*
2929
* @return bool true if the access is granted, false otherwise
3030
*/

src/Symfony/Component/Security/Core/Authorization/Voter/VoterInterface.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ interface VoterInterface
3030
* This method must return one of the following constants:
3131
* ACCESS_GRANTED, ACCESS_DENIED, or ACCESS_ABSTAIN.
3232
*
33-
* @param mixed $subject The subject to secure
34-
* @param array $attributes An array of attributes associated with the method being invoked
33+
* @param mixed $subject The subject to secure
34+
* @param array $attributes An array of attributes associated with the method being invoked
3535
*
3636
* @return int either ACCESS_GRANTED, ACCESS_ABSTAIN, or ACCESS_DENIED
3737
*/

src/Symfony/Component/Security/Guard/Firewall/GuardAuthenticationListener.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ class GuardAuthenticationListener
4141
private $rememberMeServices;
4242

4343
/**
44-
* @param string $providerKey The provider (i.e. firewall) key
45-
* @param iterable|AuthenticatorInterface[] $guardAuthenticators The authenticators, with keys that match what's passed to GuardAuthenticationProvider
44+
* @param string $providerKey The provider (i.e. firewall) key
45+
* @param iterable|AuthenticatorInterface[] $guardAuthenticators The authenticators, with keys that match what's passed to GuardAuthenticationProvider
4646
*/
4747
public function __construct(GuardAuthenticatorHandler $guardHandler, AuthenticationManagerInterface $authenticationManager, string $providerKey, $guardAuthenticators, LoggerInterface $logger = null)
4848
{

src/Symfony/Component/Security/Http/AccessMap.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class AccessMap implements AccessMapInterface
2525
private $map = [];
2626

2727
/**
28-
* @param array $attributes An array of attributes to pass to the access decision manager (like roles)
29-
* @param string|null $channel The channel to enforce (http, https, or null)
28+
* @param array $attributes An array of attributes to pass to the access decision manager (like roles)
29+
* @param string|null $channel The channel to enforce (http, https, or null)
3030
*/
3131
public function add(RequestMatcherInterface $requestMatcher, array $attributes = [], $channel = null)
3232
{

src/Symfony/Component/Security/Http/Authentication/CustomAuthenticationFailureHandler.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CustomAuthenticationFailureHandler implements AuthenticationFailureHandler
2222
private $handler;
2323

2424
/**
25-
* @param array $options Options for processing a successful authentication attempt
25+
* @param array $options Options for processing a successful authentication attempt
2626
*/
2727
public function __construct(AuthenticationFailureHandlerInterface $handler, array $options)
2828
{

0 commit comments

Comments
 (0)