Skip to content

Commit

Permalink
Fix an issue with earlier versions of php
Browse files Browse the repository at this point in the history
  • Loading branch information
richardfullmer committed Nov 19, 2015
1 parent 46e8886 commit ef4ea0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rollout.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public function remove($feature)

$features = $this->features();
if (in_array($feature, $features)) {
$features = array_diff($features, [$feature]);
$features = array_diff($features, array($feature));
}
$this->storage->set($this->featuresKey(), implode(',', $features));
}
Expand Down

0 comments on commit ef4ea0b

Please sign in to comment.