Skip to content

Commit d1618a8

Browse files
committed
minor #40180 Fix: Article (localheinz)
This PR was merged into the 4.4 branch. Discussion ---------- Fix: Article | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | n/a | License | MIT | Doc PR | n/a This pull request * [x] fixes usages of the indefinite article `a` where `an` should be used instead Commits ------- 34b320ba97 Fix: Article
2 parents c03e236 + 4ae2a5c commit d1618a8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Extension/Core/DataTransformer/DateTimeToHtml5LocalDateTimeTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class DateTimeToHtml5LocalDateTimeTransformer extends BaseDateTimeTransformer
2626
* Transforms a \DateTime into a local date and time string.
2727
*
2828
* According to the HTML standard, the input string of a datetime-local
29-
* input is a RFC3339 date followed by 'T', followed by a RFC3339 time.
29+
* input is an RFC3339 date followed by 'T', followed by an RFC3339 time.
3030
* https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#valid-local-date-and-time-string
3131
*
3232
* @param \DateTime|\DateTimeInterface $dateTime A DateTime object

Extension/Core/Type/DateTimeType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public function buildView(FormView $view, FormInterface $form, array $options)
213213
{
214214
$view->vars['widget'] = $options['widget'];
215215

216-
// Change the input to a HTML5 datetime input if
216+
// Change the input to an HTML5 datetime input if
217217
// * the widget is set to "single_text"
218218
// * the format matches the one expected by HTML5
219219
// * the html5 is set to true

Extension/Core/Type/DateType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function finishView(FormView $view, FormInterface $form, array $options)
189189
{
190190
$view->vars['widget'] = $options['widget'];
191191

192-
// Change the input to a HTML5 date input if
192+
// Change the input to an HTML5 date input if
193193
// * the widget is set to "single_text"
194194
// * the format matches the one expected by HTML5
195195
// * the html5 is set to true

Extension/Core/Type/TimeType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public function buildView(FormView $view, FormInterface $form, array $options)
220220
'with_seconds' => $options['with_seconds'],
221221
]);
222222

223-
// Change the input to a HTML5 time input if
223+
// Change the input to an HTML5 time input if
224224
// * the widget is set to "single_text"
225225
// * the html5 is set to true
226226
if ($options['html5'] && 'single_text' === $options['widget']) {

0 commit comments

Comments
 (0)