File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Contracts/Tests/Cache Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ public function testRecomputeOnBetaInf()
99
99
$ cache ->expects ($ this ->once ())
100
100
->method ('save ' );
101
101
102
- $ callback = fn (CacheItemInterface $ item ) => 'computed data ' ;
102
+ $ callback = fn (CacheItemInterface $ item ) => 'computed data ' ;
103
103
104
104
$ cache ->get ('key ' , $ callback , \INF );
105
105
}
@@ -110,7 +110,7 @@ public function testExceptionOnNegativeBeta()
110
110
->onlyMethods (['getItem ' , 'save ' ])
111
111
->getMock ();
112
112
113
- $ callback = fn (CacheItemInterface $ item ) => 'computed data ' ;
113
+ $ callback = fn (CacheItemInterface $ item ) => 'computed data ' ;
114
114
115
115
$ this ->expectException (\InvalidArgumentException::class);
116
116
$ cache ->get ('key ' , $ callback , -2 );
You can’t perform that action at this time.
0 commit comments