Skip to content

Commit be88b83

Browse files
committed
fixed suggestions
1 parent 38699cc commit be88b83

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

form/validation_groups.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ In both of these cases, *only* the ``registration`` validation group will
3232
be used to validate the underlying object. To apply the ``registration``
3333
group *and* all constraints that are not in a group, use::
3434

35-
[
36-
'validation_groups' => ['Default', 'registration']
37-
];
35+
'validation_groups' => ['Default', 'registration']
3836

3937
.. note::
4038

reference/configuration/framework.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3092,7 +3092,7 @@ A list of workflows to be created by the framework extension:
30923092
// config/packages/workflow.php
30933093
$container->loadFromExtension('framework', [
30943094
'workflows' => [
3095-
'my_workflow' => [ /* ... */ ]
3095+
'my_workflow' => // ...
30963096
],
30973097
]);
30983098

service_container/autowiring.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,12 +520,13 @@ the injection::
520520
521521
$services->set(TwitterClient::class)
522522
// the Rot13Transformer will be passed as the $transformer argument
523-
->autowire();
523+
->autowire()
524524
525525
// If you wanted to choose the non-default service and do not
526526
// want to use a named autowiring alias, wire it manually:
527527
// ->arg('$transformer', ref(UppercaseTransformer::class))
528528
// ...
529+
;
529530
};
530531
531532
Thanks to the ``App\Util\TransformerInterface`` alias, any argument type-hinted

service_container/service_subscribers_locators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ argument of type ``service_locator``:
257257
services:
258258
App\CommandBus:
259259
arguments:
260-
!service_locator:
260+
!service_locator |
261261
App\FooCommand: '@app.command_handler.foo'
262262
App\BarCommand: '@app.command_handler.bar'
263263

0 commit comments

Comments
 (0)