File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 5
5
use Doctrine \Common \Cache \ArrayCache ;
6
6
use Roave \DoctrineSimpleCache \SimpleCacheAdapter ;
7
7
8
+ /**
9
+ * @coversNothing
10
+ */
8
11
final class CacheIntegrationTest extends SimpleCacheTest
9
12
{
10
13
/**
11
14
* @return \Psr\SimpleCache\CacheInterface that is used in the tests
12
15
*/
13
- public function createSimpleCache ()
16
+ public function createSimpleCache () : \ Psr \ SimpleCache \ CacheInterface
14
17
{
15
- $ doctrineCache = new ArrayCache ();
16
-
17
- return new SimpleCacheAdapter ($ doctrineCache );
18
+ return new SimpleCacheAdapter (new ArrayCache ());
18
19
}
19
20
20
- protected function setUp ()
21
+ protected function setUp () : void
21
22
{
22
23
parent ::setUp ();
23
24
24
- // @todo: Let's make these tests passed!
25
+ // @todo: Let's make these tests pass
25
26
$ this ->skippedTests ['testSetTtl ' ] = true ;
26
27
$ this ->skippedTests ['testSetExpiredTtl ' ] = true ;
27
28
$ this ->skippedTests ['testSetMultipleTtl ' ] = true ;
You can’t perform that action at this time.
0 commit comments