8000 [Bugfix] Fix type-hinting in abstract adapter stub (#560) · ben221199/laravel-json-api@2ed1050 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ed1050

Browse files
[Bugfix] Fix type-hinting in abstract adapter stub (cloudcreativity#560)
1 parent 35014b1 commit 2ed1050

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/abstract/adapter.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class DummyClass extends AbstractResourceAdapter
5353
/**
5454
* @inheritDoc
5555
*/
56-
public function exists($resourceId)
56+
public function exists(string $resourceId): bool
5757
{
5858
// TODO: Implement exists() method.
5959
}
@@ -69,7 +69,7 @@ class DummyClass extends AbstractResourceAdapter
6969
/**
7070
* @inheritDoc
7171
*/
72-
public function findMany(array $resourceIds)
72+
public function findMany(iterable $resourceIds): iterable
7373
{
7474
// TODO: Implement findMany() method.
7575
}

0 commit comments

Comments
 (0)
0