File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -205,12 +205,12 @@ public function clearCache()
205205 }
206206
207207 /**
208- * Clea the internal store as well as the cache, in effect totally resetting
209- * hydration
208+ * Clear the internal store as well as the cache, in effect
209+ * totally resetting hydration
210210 *
211- * @return $this;
211+ * @return $this
212212 */
213- public function empty ()
213+ public function reset ()
214214 {
215215 $ this ->items = [];
216216 $ this ->clearCache ();
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function testSavedValueQuarantined()
5252 ]);
5353
5454 // Clear the cache
55- app ('decoy.elements ' )->empty ();
55+ app ('decoy.elements ' )->reset ();
5656
5757 // Test that in english, we don't see the sapnish title
5858 $ element = (string ) Decoy::el ('homepage.marquee.title ' );
@@ -71,7 +71,7 @@ public function testSavedValue()
7171 ]);
7272
7373 // Clear the cache
74- app ('decoy.elements ' )->empty ();
74+ app ('decoy.elements ' )->reset ();
7575
7676 // Set to spanish adn confirm the locale scene
7777 Decoy::locale ('es ' );
You can’t perform that action at this time.
0 commit comments