File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
tests/Database/Functional/Driver/Common/Driver Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public function withoutCache(): static
111111 return $ driver ;
112112 }
113113
114- public function cleanCache (): void
114+ public function clearCache (): void
115115 {
116116 $ this ->queryCache = [];
117117 }
@@ -138,7 +138,7 @@ public function getTimezone(): \DateTimeZone
138138 public function getSchemaHandler (): HandlerInterface
139139 {
140140 // do not allow to carry prepared statements between schema changes
141- $ this ->cleanCache ();
141+ $ this ->clearCache ();
142142
143143 return $ this ->schemaHandler ;
144144 }
@@ -177,7 +177,7 @@ public function isConnected(): bool
177177 public function disconnect (): void
178178 {
179179 try {
180- $ this ->cleanCache ();
180+ $ this ->clearCache ();
181181 $ this ->pdo = null ;
182182 } catch (\Throwable $ e ) {
183183 // disconnect error
Original file line number Diff line number Diff line change @@ -63,14 +63,14 @@ public function datetimeDataProvider(): \Traversable
6363 yield [new class ('2000-01-23T01:23:45.678+09:00 ' ) extends \DateTime {}];
6464 }
6565
66- public function testCleanCache (): void
66+ public function testClearCache (): void
6767 {
6868 $ driver = $ this ->mockDriver ();
6969
7070 $ driver ->testPolluteCache ();
7171 self ::assertNotEmpty ($ driver ->testGetCache ());
7272
73- $ driver ->cleanCache ();
73+ $ driver ->clearCache ();
7474
7575 self ::assertEmpty ($ driver ->testGetCache ());
7676 }
You can’t perform that action at this time.
0 commit comments