From 3fcf3fd2dffca5475d189a547a033d1e6556edd7 Mon Sep 17 00:00:00 2001 From: Hilari Moragrega Date: Tue, 13 Jun 2017 21:21:46 +0200 Subject: [PATCH] Some style adjustments --- spec/BalancerSpec.php | 2 +- spec/SeedSpec.php | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/spec/BalancerSpec.php b/spec/BalancerSpec.php index dce372d..9f727e7 100644 --- a/spec/BalancerSpec.php +++ b/spec/BalancerSpec.php @@ -35,7 +35,7 @@ function it_can_distribute_hits_across_features_based_on_numeric_seeds() function it_can_distribute_hits_across_features_based_on_string_seeds() { $this->get("foo", "bar")->shouldReturn("def"); - $this->get("foo", "foo")->shouldReturn("abc"); + $this->get("foo", "foo")->shouldReturn("abc"); } function it_can_distribute_hits_across_features_without_seed() diff --git a/spec/SeedSpec.php b/spec/SeedSpec.php index 63a247e..ade95b4 100644 --- a/spec/SeedSpec.php +++ b/spec/SeedSpec.php @@ -42,14 +42,14 @@ function it_can_determine_the_seed($inputValue, $expectedValue) public function seedConversionExamples() { - return array( - array("1234à", 84), - array("1234è", 88), - array("foo", 26), - array(10055, 55), - array(-10055, 55), - array(1.1, 84), - array(1.2, 26), - ); + return [ + ["1234à", 84], + ["1234è", 88], + ["foo", 26], + [10055, 55], + [-10055, 55], + [1.1, 84], + [1.2, 26], + ]; } }