Skip to content

Commit b2db018

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: removed dots at the end of @param and @return fixed typo
2 parents feaed97 + 8edc0b1 commit b2db018

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Extension/FormExtension.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ public function getTests()
9797
/**
9898
* Renders a CSRF token.
9999
*
100-
* @param string $intention The intention of the protected action.
100+
* @param string $intention The intention of the protected action
101101
*
102-
* @return string A CSRF token.
102+
* @return string A CSRF token
103103
*/
104104
public function renderCsrfToken($intention)
105105
{
@@ -109,9 +109,9 @@ public function renderCsrfToken($intention)
109109
/**
110110
* Makes a technical name human readable.
111111
*
112-
* @param string $text The text to humanize.
112+
* @param string $text The text to humanize
113113
*
114-
* @return string The humanized text.
114+
* @return string The humanized text
115115
*/
116116
public function humanize($text)
117117
{
@@ -134,10 +134,10 @@ public function humanize($text)
134134
* seems to be much more efficient at executing filters than at executing
135135
* methods of an object.
136136
*
137-
* @param ChoiceView $choice The choice to check.
138-
* @param string|array $selectedValue The selected value to compare.
137+
* @param ChoiceView $choice The choice to check
138+
* @param string|array $selectedValue The selected value to compare
139139
*
140-
* @return bool Whether the choice is selected.
140+
* @return bool Whether the choice is selected
141141
*
142142
* @see ChoiceView::isSelected()
143143
*/

Form/TwigRendererEngine.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ public function renderBlock(FormView $view, $resource, $blockName, array $variab
7070
*
7171
* @see getResourceForBlock()
7272
*
73-
* @param string $cacheKey The cache key of the form view.
74-
* @param FormView $view The form view for finding the applying themes.
75-
* @param string $blockName The name of the block to load.
73+
* @param string $cacheKey The cache key of the form view
74+
* @param FormView $view The form view for finding the applying themes
75+
* @param string $blockName The name of the block to load
7676
*
77-
* @return bool True if the resource could be loaded, false otherwise.
77+
* @return bool True if the resource could be loaded, false otherwise
7878
*/
7979
protected function loadResourceForBlockName($cacheKey, FormView $view, $blockName)
8080
{
@@ -141,7 +141,7 @@ protected function loadResourceForBlockName($cacheKey, FormView $view, $blockNam
141141
/**
142142
* Loads the resources for all blocks in a theme.
143143
*
144-
* @param string $cacheKey The cache key for storing the resource.
144+
* @param string $cacheKey The cache key for storing the resource
145145
* @param mixed $theme The theme to load the block from. This parameter
146146
* is passed by reference, because it might be necessary
147147
* to initialize the theme first. Any changes made to

0 commit comments

Comments
 (0)