@@ -47,7 +47,7 @@ public function testGet()
4747 $ result = true ;
4848
4949 $ stub = $ this ->getCacheStub ('get ' , [$ prefix .$ key ], $ result );
50- $ pool = ( new PrefixedSimpleCache ($ stub , $ prefix) );
50+ $ pool = new PrefixedSimpleCache ($ stub , $ prefix );
5151
5252 $ this ->assertEquals ($ result , $ pool ->get ($ key ));
5353 }
@@ -60,7 +60,7 @@ public function testSet()
6060 $ result = true ;
6161
6262 $ stub = $ this ->getCacheStub ('set ' , [$ prefix .$ key , $ value ], $ result );
63- $ pool = ( new PrefixedSimpleCache ($ stub , $ prefix) );
63+ $ pool = new PrefixedSimpleCache ($ stub , $ prefix );
6464
6565 $ this ->assertEquals ($ result , $ pool ->set ($ key , $ value ));
6666 }
@@ -72,7 +72,7 @@ public function testDelete()
7272 $ result = true ;
7373
7474 $ stub = $ this ->getCacheStub ('delete ' , [[$ prefix .$ key ]], $ result );
75- $ pool = ( new PrefixedSimpleCache ($ stub , $ prefix) );
75+ $ pool = new PrefixedSimpleCache ($ stub , $ prefix );
7676
7777 $ this ->assertEquals ($ result , $ pool ->delete ($ key ));
7878 }
@@ -83,7 +83,7 @@ public function testClear()
8383 $ result = true ;
8484
8585 $ stub = $ this ->getCacheStub ('clear ' , [], $ result );
86- $ pool = ( new PrefixedSimpleCache ($ stub , $ prefix) );
86+ $ pool = new PrefixedSimpleCache ($ stub , $ prefix );
8787
8888 $ this ->assertEquals ($ result , $ pool ->clear ());
8989 }
0 commit comments