8000 Phpdoc and UPGRADE fixes · symfony/symfony@41b38f2 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 41b38f2

Browse files
committed
Phpdoc and UPGRADE fixes
1 parent 945ae60 commit 41b38f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

UPGRADE-6.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
UPGRADE FROM 5.0 to 5.1
1+
UPGRADE FROM 5.x to 6.0
22
=======================
33

44
FrameworkBundle

src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected function configureRoutes(RouteCollectionBuilder $routes)
4040
}
4141

4242
/**
43-
* Add or import routes into your application.
43+
* Adds or imports routes into your application.
4444
*
4545
* $routes->import($this->getProjectDir().'/config/*.{yaml,php}');
4646
* $routes
@@ -115,7 +115,7 @@ public function loadRoutes(LoaderInterface $loader)
115115
$collection = $routes->build();
116116

117117
if (0 !== \count($collection)) {
118-
@trigger_error(sprintf('Adding routes via the "%s:configureRoutes()" method is deprecated since Symfony 5.1 and will have no effect in 6.0. Use configureRouting() instead.', self::class), E_USER_DEPRECATED);
118+
@trigger_error(sprintf('Adding routes via the "%s:configureRoutes()" method is deprecated since Symfony 5.1 and will have no effect in 6.0; use "configureRouting()" instead.', self::class), E_USER_DEPRECATED);
119119
}
120120

121121
$file = (new \ReflectionObject($this))->getFileName();

0 commit comments

Comments
 (0)
0