Skip to content

Commit 42625fa

Browse files
Merge branch '4.0' into 4.1
* 4.0: (21 commits) [PropertyInfo] fix resolving parent|self type hints fixed CS fix merge [Security] Fix logout Cleanup 2 tests for the HttpException classes #27250 limiting GET_LOCK key up to 64 char due to changes in MySQL 5.7.5 and later [Config] Fix tests when path contains UTF chars [DI] Shared services should not be inlined in non-shared ones [Profiler] Remove propel & event_listener_loading category identifiers [Filesystem] Fix usages of error_get_last() [Cache][Lock] Fix usages of error_get_last() [Debug] Fix populating error_get_last() for handled silent errors fixed CS fixed CS fixed CS [FrameworkBundle] Fix cache:clear on vagrant [HttpKernel] Handle NoConfigurationException "onKernelException()" Fix misses calculation when calling getItems [DI] Display previous error messages when throwing unused bindings Fixed return type ...
2 parents ac9df69 + e8833b6 commit 42625fa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

RouteCollectionBuilder.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function createBuilder()
118118
* @param string $prefix
119119
* @param RouteCollectionBuilder $builder
120120
*/
121-
public function mount($prefix, RouteCollectionBuilder $builder)
121+
public function mount($prefix, self $builder)
122122
{
123123
$builder->prefix = trim(trim($prefix), '/');
124124
$this->routes[] = $builder;
@@ -251,11 +251,9 @@ public function setMethods($methods)
251251
/**
252252
* Adds a resource for this collection.
253253
*
254-
* @param ResourceInterface $resource
255-
*
256254
* @return $this
257255
*/
258-
private function addResource(ResourceInterface $resource): RouteCollectionBuilder
256+
private function addResource(ResourceInterface $resource): self
259257
{
260258
$this->resources[] = $resource;
261259

0 commit comments

Comments
 (0)