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 61
61
</service >
62
62
63
63
<service id =" config_cache_factory" class =" Symfony\Component\Config\ResourceCheckerConfigCacheFactory" >
64
- <argument type = " collection " ></ argument >
64
+ <argument /> <!-- resource checkers -- >
65
65
</service >
66
66
67
67
<service class =" Symfony\Component\Config\Resource\SelfCheckingResourceChecker" public =" false" >
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Bundle \FrameworkBundle \Tests \DependencyInjection \Compiler ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
+ use Symfony \Component \DependencyInjection \Argument \IteratorArgument ;
15
16
use Symfony \Component \DependencyInjection \Reference ;
16
17
use Symfony \Bundle \FrameworkBundle \DependencyInjection \Compiler \ConfigCachePass ;
17
18
@@ -41,11 +42,11 @@ public function testThatCheckersAreProcessedInPriorityOrder()
41
42
42
43
$ definition ->expects ($ this ->once ())
43
44
->method ('replaceArgument ' )
44
- ->with (0 , array (
45
+ ->with (0 , new IteratorArgument ( array (
45
46
new Reference ('checker_1 ' ),
46
47
new Reference ('checker_2 ' ),
47
48
new Reference ('checker_3 ' ),
48
- ));
49
+ ))) ;
49
50
50
51
$ pass = new ConfigCachePass ();
51
52
$ pass ->process ($ container );
You can’t perform that action at this time.
0 commit comments