Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
Fix backwards compatability with old config files
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored Mar 3, 2018
1 parent a4fd129 commit 8dea96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SegmentServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function boot()
$this->setupConfig();

if ($writeKey = $this->app->config->get('segment.write_key')) {
Segment::init($writeKey, $this->app->config->get('segment.init_options'));
Segment::init($writeKey, (array) $this->app->config->get('segment.init_options'));
}
}

Expand Down

0 comments on commit 8dea96b

Please sign in to comment.