| @@ -22,7 +22,7 @@ discard block | ||
| 22 | 22 | $request = new Request(); | 
| 23 | 23 | } | 
| 24 | 24 | |
| 25 | -        $this->assertInstanceOf(Response::class, $middleware->handle($request, function () { | |
| 25 | +        $this->assertInstanceOf(Response::class, $middleware->handle($request, function() { | |
| 26 | 26 | return new Response(); | 
| 27 | 27 | })); | 
| 28 | 28 | } | 
| @@ -37,7 +37,7 @@ discard block | ||
| 37 | 37 | $request = new Request(); | 
| 38 | 38 | } | 
| 39 | 39 | |
| 40 | -        $middleware->handle($request, function () { | |
| 40 | +        $middleware->handle($request, function() { | |
| 41 | 41 | return new Response(); | 
| 42 | 42 | }); | 
| 43 | 43 | |
| @@ -93,17 +93,17 @@ | ||
| 93 | 93 |      { | 
| 94 | 94 | // Mock the processor | 
| 95 | 95 | $processor = $this->getMockBuilder(Processor::class) | 
| 96 | - ->disableOriginalConstructor() | |
| 97 | - ->setMethods(['getResponseData', 'processPayload']) | |
| 98 | - ->getMock(); | |
| 96 | + ->disableOriginalConstructor() | |
| 97 | + ->setMethods(['getResponseData', 'processPayload']) | |
| 98 | + ->getMock(); | |
| 99 | 99 | |
| 100 | 100 | $processor->expects($this->once()) | 
| 101 | -                  ->method('processPayload') | |
| 102 | - ->willReturn($processor); | |
| 101 | +                    ->method('processPayload') | |
| 102 | + ->willReturn($processor); | |
| 103 | 103 | |
| 104 | 104 | $processor->expects($this->once()) | 
| 105 | -                  ->method('getResponseData') | |
| 106 | - ->willReturn($responseData); | |
| 105 | +                    ->method('getResponseData') | |
| 106 | + ->willReturn($responseData); | |
| 107 | 107 | |
| 108 | 108 | /** @var \PHPUnit_Framework_MockObject_MockObject|GraphQLService $service */ | 
| 109 | 109 | $service = $this->getMockBuilder(GraphQLService::class) | 
| @@ -31,8 +31,8 @@ discard block | ||
| 31 | 31 |      { | 
| 32 | 32 | /** @var \PHPUnit_Framework_MockObject_MockObject|CacheRepository $cacheRepository */ | 
| 33 | 33 | $this->cache = $this->getMockBuilder(CacheRepository::class) | 
| 34 | - ->setMethods(['get', 'forever']) | |
| 35 | - ->getMockForAbstractClass(); | |
| 34 | + ->setMethods(['get', 'forever']) | |
| 35 | + ->getMockForAbstractClass(); | |
| 36 | 36 | |
| 37 | 37 | $this->processor = new Processor(new Schema()); | 
| 38 | 38 | $this->service = new GraphQLService($this->processor, $this->cache); | 
| @@ -42,9 +42,9 @@ discard block | ||
| 42 | 42 | public function testGetProcessor() | 
| 43 | 43 |      { | 
| 44 | 44 | $this->cache->expects($this->any()) | 
| 45 | -                     ->method('get') | |
| 46 | - ->with(GraphQLService::PROCESSOR_CACHE_KEY) | |
| 47 | - ->willReturn($this->processor); | |
| 45 | +                        ->method('get') | |
| 46 | + ->with(GraphQLService::PROCESSOR_CACHE_KEY) | |
| 47 | + ->willReturn($this->processor); | |
| 48 | 48 | |
| 49 | 49 | $this->assertEquals($this->processor, $this->service->getProcessor()); | 
| 50 | 50 | } |