Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 70f0ed6

Browse filesBrowse files
committed
minor #28814 CS fixes (fabpot)
This PR was merged into the 2.8 branch. Discussion ---------- CS fixes | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | o <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | n/a | License | MIT | Doc PR | n/a <!-- Write a short README entry for your feature/bugfix here (replace this comment block.) This will help people understand your PR and can be used as a start of the Doc PR. Additionally: - Bug fixes must be submitted against the lowest branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the master branch. --> Commits ------- d48a377 fixed CS
2 parents 46d9724 + d48a377 commit 70f0ed6
Copy full SHA for 70f0ed6

File tree

Expand file treeCollapse file tree

9 files changed

+27
-27
lines changed
Filter options
Expand file treeCollapse file tree

9 files changed

+27
-27
lines changed

‎src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public function __construct(ContainerInterface $container)
4141
*
4242
* @param string $eventName The name of the event to dispatch. The name of the event is
4343
* the name of the method that is invoked on listeners.
44-
* @param EventArgs $eventArgs The event arguments to pass to the event handlers/listeners.
45-
* If not supplied, the single empty EventArgs instance is used.
44+
* @param EventArgs $eventArgs the event arguments to pass to the event handlers/listeners.
45+
* If not supplied, the single empty EventArgs instance is used
4646
*
4747
* @return bool
4848
*/

‎src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ public function __construct(ContainerInterface $container)
4646
* @param string $eventName Event for which the listener is added
4747
* @param array $callback The service ID of the listener service & the method
4848
* name that has to be called
49-
* @param int $priority The higher this value, the earlier an event listener
49+
* @param int $priority the higher this value, the earlier an event listener
5050
* will be triggered in the chain.
51-
* Defaults to 0.
51+
* Defaults to 0
5252
*
5353
* @throws \InvalidArgumentException
5454
*/

‎src/Symfony/Component/Form/FormConfigBuilderInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/FormConfigBuilderInterface.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,10 @@ public function setRequestHandler(RequestHandlerInterface $requestHandler);
257257
*
258258
* Should be set to true only for root forms.
259259
*
260-
* @param bool $initialize True to initialize the form automatically,
260+
* @param bool $initialize true to initialize the form automatically,
261261
* false to suppress automatic initialization.
262262
* In the second case, you need to call
263-
* {@link FormInterface::initialize()} manually.
263+
* {@link FormInterface::initialize()} manually
264264
*
265265
* @return $this The configuration object
266266
*/

‎src/Symfony/Component/Form/FormInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/FormInterface.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ public function getData();
127127
/**
128128
* Returns the normalized data of the field.
129129
*
130-
* @return mixed When the field is not submitted, the default data is returned.
130+
* @return mixed when the field is not submitted, the default data is returned.
131131
* When the field is submitted, the normalized submitted data is
132-
* returned if the field is valid, null otherwise.
132+
* returned if the field is valid, null otherwise
133133
*/
134134
public function getNormData();
135135

‎src/Symfony/Component/Form/FormRendererEngineInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/FormRendererEngineInterface.php
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ public function setTheme(FormView $view, $themes);
3636
* The type of the resource is decided by the implementation. The resource
3737
* is later passed to {@link renderBlock()} by the rendering algorithm.
3838
*
39-
* @param FormView $view The view for determining the used themes.
39+
* @param FormView $view the view for determining the used themes.
4040
* First the themes attached directly to the
4141
* view with {@link setTheme()} are considered,
42-
* then the ones of its parent etc.
42+
* then the ones of its parent etc
4343
* @param string $blockName The name of the block to render
4444
*
4545
* @return mixed the renderer resource or false, if none was found
@@ -68,10 +68,10 @@ public function getResourceForBlockName(FormView $view, $blockName);
6868
* The type of the resource is decided by the implementation. The resource
6969
* is later passed to {@link renderBlock()} by the rendering algorithm.
7070
*
71-
* @param FormView $view The view for determining the used themes.
71+
* @param FormView $view the view for determining the used themes.
7272
* First the themes attached directly to
7373
* the view with {@link setTheme()} are
74-
* considered, then the ones of its parent etc.
74+
* considered, then the ones of its parent etc
7575
* @param array $blockNameHierarchy The block name hierarchy, with the root block
7676
* at the beginning
7777
* @param int $hierarchyLevel The level in the hierarchy at which to start
@@ -106,10 +106,10 @@ public function getResourceForBlockNameHierarchy(FormView $view, array $blockNam
106106
* The type of the resource is decided by the implementation. The resource
107107
* is later passed to {@link renderBlock()} by the rendering algorithm.
108108
*
109-
* @param FormView $view The view for determining the used themes.
109+
* @param FormView $view the view for determining the used themes.
110110
* First the themes attached directly to
111111
* the view with {@link setTheme()} are
112-
* considered, then the ones of its parent etc.
112+
* considered, then the ones of its parent etc
113113
* @param array $blockNameHierarchy The block name hierarchy, with the root block
114114
* at the beginning
115115
* @param int $hierarchyLevel The level in the hierarchy at which to start

‎src/Symfony/Component/Form/Util/OrderedHashMapIterator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Util/OrderedHashMapIterator.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ class OrderedHashMapIterator implements \Iterator
6262
* keys
6363
* @param array $orderedKeys The keys of the map in the order in which
6464
* they should be iterated
65-
* @param array $managedCursors An array from which to reference the
65+
* @param array $managedCursors an array from which to reference the
6666
* iterator's cursor as long as it is alive.
6767
* This array is managed by the corresponding
6868
* {@link OrderedHashMap} instance to support
69-
* recognizing the deletion of elements.
69+
* recognizing the deletion of elements
7070
*/
7171
public function __construct(array &$elements, array &$orderedKeys, array &$managedCursors)
7272
{

‎src/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
class NativeFileSessionHandler extends NativeSessionHandler
2020
{
2121
/**
22-
* @param string $savePath Path of directory to save session files
22+
* @param string $savePath path of directory to save session files
2323
* Default null will leave setting as defined by PHP.
2424
* '/path', 'N;/path', or 'N;octal-mode;/path
2525
*

‎src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,9 +513,9 @@ public function setPattern($pattern)
513513
/**
514514
* Set the formatter's timezone identifier.
515515
*
516-
* @param string $timeZoneId The time zone ID string of the time zone to use.
516+
* @param string $timeZoneId the time zone ID string of the time zone to use.
517517
* If NULL or the empty string, the default time zone for the
518-
* runtime is used.
518+
* runtime is used
519519
*
520520
* @return bool true on success or false on failure
521521
*

‎src/Symfony/Component/Intl/NumberFormatter/NumberFormatter.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Intl/NumberFormatter/NumberFormatter.php
+8-8Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,9 @@ class NumberFormatter
242242

243243
/**
244244
* @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en")
245-
* @param int $style Style of the formatting, one of the format style constants.
245+
* @param int $style style of the formatting, one of the format style constants.
246246
* The only supported styles are NumberFormatter::DECIMAL
247-
* and NumberFormatter::CURRENCY.
247+
* and NumberFormatter::CURRENCY
248248
* @param string $pattern Not supported. A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or
249249
* NumberFormat::PATTERN_RULEBASED. It must conform to the syntax
250250
* described in the ICU DecimalFormat or ICU RuleBasedNumberFormat documentation
@@ -279,9 +279,9 @@ public function __construct($locale = 'en', $style = null, $pattern = null)
279279
* Static constructor.
280280
*
281281
* @param string $locale The locale code. The only supported locale is "en" (or null using the default locale, i.e. "en")
282-
* @param int $style Style of the formatting, one of the format style constants.
282+
* @param int $style style of the formatting, one of the format style constants.
283283
* The only currently supported styles are NumberFormatter::DECIMAL
284-
* and NumberFormatter::CURRENCY.
284+
* and NumberFormatter::CURRENCY
285285
* @param string $pattern Not supported. A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or
286286
* NumberFormat::PATTERN_RULEBASED. It must conform to the syntax
287287
* described in the ICU DecimalFormat or ICU RuleBasedNumberFormat documentation
@@ -340,8 +340,8 @@ public function formatCurrency($value, $currency)
340340
* Format a number.
341341
*
342342
* @param int|float $value The value to format
343-
* @param int $type Type of the formatting, one of the format type constants.
344-
* Only type NumberFormatter::TYPE_DEFAULT is currently supported.
343+
* @param int $type type of the formatting, one of the format type constants.
344+
* Only type NumberFormatter::TYPE_DEFAULT is currently supported
345345
*
346346
* @return bool|string The formatted value or false on error
347347
*
@@ -547,9 +547,9 @@ public function parse($value, $type = self::TYPE_DOUBLE, &$position = 0)
547547
/**
548548
* Set an attribute.
549549
*
550-
* @param int $attr An attribute specifier, one of the numeric attribute constants.
550+
* @param int $attr an attribute specifier, one of the numeric attribute constants.
551551
* The only currently supported attributes are NumberFormatter::FRACTION_DIGITS,
552-
* NumberFormatter::GROUPING_USED and NumberFormatter::ROUNDING_MODE.
552+
* NumberFormatter::GROUPING_USED and NumberFormatter::ROUNDING_MODE
553553
* @param int $value The attribute value
554554
*
555555
* @return bool true on success or false on failure

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.