We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 603ca4f commit 73c31fbCopy full SHA for 73c31fb
src/Repository.php
@@ -13,6 +13,7 @@
13
14
/**
15
* @template TItem of \Swis\JsonApi\Client\Interfaces\ItemInterface
16
+ *
17
* @implements RepositoryInterface<TItem>
18
*/
19
class Repository extends BaseRepository implements RepositoryInterface
types/Repository.php
@@ -24,4 +24,4 @@
24
25
$save = $repository->save(new ItemStub);
26
assertType('Swis\JsonApi\Client\Interfaces\ItemDocumentInterface<Swis\JsonApi\Client\Tests\Mocks\ItemStub>', $save);
27
-assertType('Swis\JsonApi\Client\Tests\Mocks\ItemStub', $save->getData());
+assertType('Swis\JsonApi\Client\Tests\Mocks\ItemStub', $save->getData());
0 commit comments