Skip to content

Commit 6b3b3bc

Browse files
committed
Fix typos
| Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets |
1 parent 2aa40e6 commit 6b3b3bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/routing/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ calls a closure and uses the result as a :class:`Symfony\\Component\\Routing\\Ro
288288

289289
use Symfony\Component\Routing\Loader\ClosureLoader;
290290

291-
$closure = function() {
291+
$closure = function () {
292292
return new RouteCollection();
293293
};
294294

@@ -307,7 +307,7 @@ out here.
307307
The all-in-one Router
308308
~~~~~~~~~~~~~~~~~~~~~
309309

310-
The :class:`Symfony\\Component\\Routing\\Router` class is a all-in-one package
310+
The :class:`Symfony\\Component\\Routing\\Router` class is an all-in-one package
311311
to quickly use the Routing component. The constructor expects a loader instance,
312312
a path to the main route definition and some other settings::
313313

0 commit comments

Comments
 (0)