Skip to content

Commit

Permalink
Merge pull request sixpack#20 from theUniC/patch-1
Browse files Browse the repository at this point in the history
Fixed incompatible syntax with PHP 5.3
  • Loading branch information
zackkitzmiller authored Jul 20, 2016
2 parents 84da832 + 2f82390 commit 1acee39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SeatGeek/Sixpack/Session/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ protected function forceAlternative($experiment, $alternatives)
$forcedAlt = isset($_GET[$forceKey]) ? $_GET[$forceKey] : null;

if (!in_array($forcedAlt, $alternatives)) {
throw new InvalidForcedAlternativeException([$forcedAlt, $alternatives]);
throw new InvalidForcedAlternativeException(array($forcedAlt, $alternatives));
}

$mockJson = json_encode(array(
Expand Down

0 comments on commit 1acee39

Please sign in to comment.