Skip to content

Commit ef4ea0b

Browse files
Fix an issue with earlier versions of php
1 parent 46e8886 commit ef4ea0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rollout.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public function remove($feature)
201201

202202
$features = $this->features();
203203
if (in_array($feature, $features)) {
204-
$features = array_diff($features, [$feature]);
204+
$features = array_diff($features, array($feature));
205205
}
206206
$this->storage->set($this->featuresKey(), implode(',', $features));
207207
}

0 commit comments

Comments
 (0)