Completed
Pull Request — develop (#7)
by
unknown
25:42 queued 15:41
created
tests/TransformerTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,16 +18,16 @@
 block discarded – undo
18 18
         $model = Mockery::mock(MockedModel::class);
19 19
 
20 20
         $model->shouldReceive('doSomething')
21
-              ->once()
22
-              ->withNoArgs()
23
-              ->andReturn('Ran');
21
+                ->once()
22
+                ->withNoArgs()
23
+                ->andReturn('Ran');
24 24
 
25 25
         $collection = new TransformableCollection([$model]);
26 26
 
27 27
         $transformer = new TransformerStub();
28 28
 
29 29
         $this->assertEquals(['Ran'], $transformer->transformCollection($collection)
30
-                                                 ->toArray());
30
+                                                    ->toArray());
31 31
     }
32 32
 }
33 33
 
Please login to merge, or discard this patch.
tests/TransformableCollectionTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     public function it_allows_transformation_with_pagination()
57 57
     {
58 58
         $this->collection = $this->collection->transformToWithPagination('TestUser')
59
-                                             ->toArray();
59
+                                                ->toArray();
60 60
         $this->assertArrayHasKey('data', $this->collection);
61 61
         $this->assertArrayHasKey('total', $this->collection);
62 62
     }
Please login to merge, or discard this patch.