Skip to content

Commit 9c92c00

Browse files
Merge branch '4.4' into 5.4
* 4.4: [VarDumper] Fix dumping mysqli_driver instances Fix missing ReturnTypeWillChange attributes [Cache] Add missing log when saving namespace [HttpKernel] Reset services between requests performed by KernelBrowser [HttpKernel] Remove unused argument in ArgumentMetadataFactory
2 parents bf0d406 + 56a3290 commit 9c92c00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ControllerMetadata/ArgumentMetadataFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function createArgumentMetadata($controller): array
4848
}
4949
}
5050

51-
$arguments[] = new ArgumentMetadata($param->getName(), $this->getType($param, $reflection, $class), $param->isVariadic(), $param->isDefaultValueAvailable(), $param->isDefaultValueAvailable() ? $param->getDefaultValue() : null, $param->allowsNull(), $attributes);
51+
$arguments[] = new ArgumentMetadata($param->getName(), $this->getType($param, $class), $param->isVariadic(), $param->isDefaultValueAvailable(), $param->isDefaultValueAvailable() ? $param->getDefaultValue() : null, $param->allowsNull(), $attributes);
5252
}
5353

5454
return $arguments;
@@ -57,7 +57,7 @@ public function createArgumentMetadata($controller): array
5757
/**
5858
* Returns an associated type to the given parameter if available.
5959
*/
60-
private function getType(\ReflectionParameter $parameter, \ReflectionFunctionAbstract $function, ?string $class): ?string
60+
private function getType(\ReflectionParameter $parameter, ?string $class): ?string
6161
{
6262
if (!$type = $parameter->getType()) {
6363
return null;

0 commit comments

Comments
 (0)