Skip to content

Commit 52b347e

Browse files
committed
Merge branch '5.1'
* 5.1: [HttpClient] Support for cURL handler objects. [HttpClient] unset activity list when creating CurlResponse Fixed typo in test name [DI] Fix call to sprintf in ServicesConfigurator::stack() add .body wrapper element [HttpFondation] Change file extension of "audio/mpeg" from "mpga" to "mp3" [VarDumper] Support for cURL handler objects. Check whether path is file in DataPart::fromPath() [DI][FrameworkBundle] Remove whitelist occurrences Avoid accessibility errors on debug toolbar Resolve event bubbling logic in a compiler pass update cookie test
2 parents 93123c0 + c86f6c2 commit 52b347e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loader/Configurator/ServicesConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ final public function stack(string $id, array $services): AliasConfigurator
150150

151151
$services[$i] = $definition;
152152
} elseif (!$service instanceof ReferenceConfigurator) {
153-
throw new InvalidArgumentException(sprintf('"%s()" expects a list of definitions as returned by "%s()" or "%s()", "%s" given at index "%s" for service "%s".', __METHOD__, InlineServiceConfigurator::FACTORY, ReferenceConfigurator::FACTORY, $service instanceof AbstractConfigurator ? $service::FACTORY.'()' : get_debug_type($service)), $i, $id);
153+
throw new InvalidArgumentException(sprintf('"%s()" expects a list of definitions as returned by "%s()" or "%s()", "%s" given at index "%s" for service "%s".', __METHOD__, InlineServiceConfigurator::FACTORY, ReferenceConfigurator::FACTORY, $service instanceof AbstractConfigurator ? $service::FACTORY.'()' : get_debug_type($service), $i, $id));
154154
}
155155
}
156156

0 commit comments

Comments
 (0)