Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b51ac5

Browse files
fixed arguments order
Co-Authored-By: Kevin Verschaeve <[email protected]>
1 parent 2d8fd1f commit 6b51ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DependencyInjection/Compiler/PriorityTaggedServiceTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private function findAndSortTaggedServices($tagName, ContainerBuilder $container
7474
$priority = $priorityReflMethod->invoke(null);
7575

7676
if (!\is_int($priority)) {
77-
throw new InvalidArgumentException(sprintf('Default priority method "%s::%s()" of the "%s"-tagged collection on service "%s" should return an integer, got %s.', $class, $defaultPriorityMethod, \gettype($priority), $tagName, $serviceId));
77+
throw new InvalidArgumentException(sprintf('Default priority method "%s::%s()" of the "%s"-tagged collection on service "%s" should return an integer, got %s.', $class, $defaultPriorityMethod, $tagName, $serviceId, \gettype($priority)));
7878
}
7979
}
8080

0 commit comments

Comments
 (0)