Skip to content

Commit 8c7b425

Browse files
committed
Remove unused method
1 parent 54232ea commit 8c7b425

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/SchemaContext.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use Tobyz\JsonApiServer\Resource\Collection;
77
use Tobyz\JsonApiServer\Resource\Resource;
88
use Tobyz\JsonApiServer\Schema\Field\Field;
9-
use Tobyz\JsonApiServer\Schema\Field\Relationship;
109
use Tobyz\JsonApiServer\Schema\Link;
1110
use Tobyz\JsonApiServer\Schema\Meta;
1211
use WeakMap;
@@ -44,11 +43,6 @@ public function endpoints(Collection $collection): array
4443
return $this->endpoints[$collection] ??= $collection->endpoints();
4544
}
4645

47-
public function relationshipLinks(Relationship $relationship): array
48-
{
49-
return $this->endpoints[$collection] ??= $collection->endpoints();
50-
}
51-
5246
/**
5347
* Get the fields for the given resource, keyed by name.
5448
*

0 commit comments

Comments
 (0)