Skip to content

Commit 104c8f0

Browse files
Update routing.rst
Fixing argument number. Function signature is: ```php final public function import($resource, string $type = null, bool $ignoreErrors = false, $exclude = null): ImportConfigurator ```
1 parent 2cd9032 commit 104c8f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ the common configuration using options when importing the routes.
12431243
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
12441244
12451245
return function (RoutingConfigurator $routes) {
1246-
// use the optional fifth argument of import() to exclude some files
1246+
// use the optional fourth argument of import() to exclude some files
12471247
// or subdirectories when loading annotations
12481248
$routes->import('../../src/Controller/', 'annotation')
12491249
// this is added to the beginning of all imported route URLs

0 commit comments

Comments
 (0)