Unverified Commit da0ae6a9 authored by larowlan's avatar larowlan
Browse files

Issue #3231672 by daffie: [Symfony 6] Add "Definition" type hint to...

Issue #3231672 by daffie: [Symfony 6] Add "Definition" type hint to Drupal\Core\DependencyInjection\ContainerBuilder::setDefinition()
parent 6e7cd2e5
......@@ -111,7 +111,7 @@ public function setAlias($alias, $id): Alias {
/**
* {@inheritdoc}
*/
public function setDefinition($id, Definition $definition) {
public function setDefinition($id, Definition $definition): Definition {
$definition = parent::setDefinition($id, $definition);
// As of Symfony 3.4 all definitions are private by default.
// \Symfony\Component\DependencyInjection\Compiler\ResolvePrivatesPassOnly
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment