File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Tests/DependencyInjection/Compiler Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 6161 </service >
6262
6363 <service id =" config_cache_factory" class =" Symfony\Component\Config\ResourceCheckerConfigCacheFactory" >
64- <argument type = " collection " ></ argument >
64+ <argument /> <!-- resource checkers -- >
6565 </service >
6666
6767 <service class =" Symfony\Component\Config\Resource\SelfCheckingResourceChecker" public =" false" >
Original file line number Diff line number Diff line change 1212namespace Symfony \Bundle \FrameworkBundle \Tests \DependencyInjection \Compiler ;
1313
1414use PHPUnit \Framework \TestCase ;
15+ use Symfony \Component \DependencyInjection \Argument \IteratorArgument ;
1516use Symfony \Component \DependencyInjection \Reference ;
1617use Symfony \Bundle \FrameworkBundle \DependencyInjection \Compiler \ConfigCachePass ;
1718
@@ -41,11 +42,11 @@ public function testThatCheckersAreProcessedInPriorityOrder()
4142
4243 $ definition ->expects ($ this ->once ())
4344 ->method ('replaceArgument ' )
44- ->with (0 , array (
45+ ->with (0 , new IteratorArgument ( array (
4546 new Reference ('checker_1 ' ),
4647 new Reference ('checker_2 ' ),
4748 new Reference ('checker_3 ' ),
48- ));
49+ ))) ;
4950
5051 $ pass = new ConfigCachePass ();
5152 $ pass ->process ($ container );
You can’t perform that action at this time.
0 commit comments