Completed
Pull Request — master (#7)
by Korvin
03:02
created
src/JsonApiSerializer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@
 block discarded – undo
258 258
     /**
259 259
      * Get the mandatory fields for the serializer
260 260
      *
261
-     * @return array<mixed>
261
+     * @return string[]
262 262
      */
263 263
     public function getMandatoryFields()
264 264
     {
Please login to merge, or discard this patch.
test/JsonApiSerializerTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@  discard block
 block discarded – undo
3 3
 namespace League\Fractal\Test;
4 4
 
5 5
 use InvalidArgumentException;
6
-use PHPUnit\Framework\TestCase;
7 6
 use League\Fractal\Manager;
8 7
 use League\Fractal\Resource\Collection;
9 8
 use League\Fractal\Resource\Item;
@@ -13,6 +12,7 @@  discard block
 block discarded – undo
13 12
 use League\Fractal\Test\Stub\Transformer\JsonApiBookTransformer;
14 13
 use League\Fractal\Test\Stub\Transformer\JsonApiEmptyTransformer;
15 14
 use Mockery;
15
+use PHPUnit\Framework\TestCase;
16 16
 
17 17
 class JsonApiSerializerTest extends TestCase
18 18
 {
Please login to merge, or discard this patch.