Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Feb 22, 2023
1 parent abbe087 commit fd3e3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Confd.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function watch(): void
$this->event(new ConfigChanged($current, $this->previous, $changes));

if (Arr::has($changes, $watches)) {
$this->event(new WatchDispatched((array) Arr::get($changes, $watches)));
$this->event(new WatchDispatched((array) Arr::only($changes, $watches)));
}
}

Expand Down

0 comments on commit fd3e3df

Please sign in to comment.