Completed
Push — master ( 2f5908...5d4ec2 )
by Nicolas
01:59
created
tests/Unit/LoadBalancerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function testHandleRequestNoRegisteredHostException()
20 20
     {
21
-        $chooser  = $this->prophesize('NBN\LoadBalancer\Chooser\ChooserInterface');
21
+        $chooser = $this->prophesize('NBN\LoadBalancer\Chooser\ChooserInterface');
22 22
         $request = $this->prophesize('Symfony\Component\HttpFoundation\Request');
23 23
 
24 24
         $loadBalancer = new LoadBalancer([], $chooser->reveal());
Please login to merge, or discard this patch.
tests/Unit/Chooser/RotationChooserTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         $chooser = new RotationChooser();
45 45
         $results = [];
46 46
 
47
-        for ($i=0; $i<10; $i++) {
47
+        for ($i = 0; $i < 10; $i++) {
48 48
             $host = $chooser->getAvailableHost($request, [$host1, $host2, $host3]);
49 49
             $this->assertTrue($host instanceof HostInterface);
50 50
             $results[$host->getId()] = $host;
Please login to merge, or discard this patch.