Skip to content

Commit 70d8391

Browse files
- fix fake settings not working with
1 parent d401b99 commit 70d8391

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `laravel-settings` will be documented in this file
44

5+
## 2.1.8 - 2021-06-21
6+
7+
- fix fake settings not working with `Arrayable`
8+
59
## 2.1.7 - 2021-06-08
610

711
- add support for refreshing settings

src/Settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static function fake(array $values): self
6060
$mergedValues = $settingsMapper
6161
->fetchProperties(static::class, $propertiesToLoad)
6262
->merge($values)
63-
->toArray();
63+
->all();
6464

6565
return app(Container::class)->instance(static::class, new static(
6666
$mergedValues

0 commit comments

Comments
 (0)