8000 [DependencyInjection] Define default priority inside service class by pcabreus · Pull Request #31943 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[DependencyInjection] Define default priority inside service class #31943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 13 commits into from
Prev Previous commit
Next Next commit
better exception decription
Co-Authored-By: Valentin Udaltsov <udaltsov.valentin@gmail.com>
  • Loading branch information
pcabreus and vudaltsov authored Jun 11, 2019
commit f48eea91431e39a61e5dcdb9ba70bc1e32cd5d45
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private function findAndSortTaggedServices($tagName, ContainerBuilder $container
if (!($rpm = $r->getMethod($defaultPriorityMethod))->isStatic()) {
throw new InvalidArgumentException(
sprintf(
'Method "%s::%s()" should be static: tag "%s" on service "%s" is missing default priority method.',
'Default priority method "%s::%s()" of the "%s"-tagged collection on service "%s" must be static.',
$class,
$defaultPriorityMethod,
$tagName,
Expand Down
0