Completed
Pull Request — master (#260)
by Jason
02:43
created
src/Pagination/Cursor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      * @param mixed $next
56 56
      * @param int   $count
57 57
      *
58
-     * @return void
58
+     * @return CursorInterface
59 59
      */
60 60
     public function __construct($current = null, $prev = null, $next = null, $count = null)
61 61
     {
Please login to merge, or discard this patch.
src/Serializer/JsonApiSerializer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
     protected $baseUrl;
21 21
     protected $rootObjects;
22 22
 
23
+    /**
24
+     * @param string $baseUrl
25
+     */
23 26
     public function __construct($baseUrl = null)
24 27
     {
25 28
         $this->baseUrl = $baseUrl;
Please login to merge, or discard this patch.
test/Serializer/JsonApiSerializerTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 use League\Fractal\Resource\Item;
6 6
 use League\Fractal\Scope;
7 7
 use League\Fractal\Serializer\JsonApiSerializer;
8
-use League\Fractal\Test\Stub\Transformer\JsonApiBookTransformer;
9 8
 use League\Fractal\Test\Stub\Transformer\JsonApiAuthorTransformer;
9
+use League\Fractal\Test\Stub\Transformer\JsonApiBookTransformer;
10 10
 
11 11
 class JsonApiSerializerTest extends PHPUnit_Framework_TestCase
12 12
 {
Please login to merge, or discard this patch.